diff options
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py index c1a3c73..da10960 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -1684,7 +1684,7 @@ class SlackTeam(object): # only http proxy is currently supported proxy = ProxyWrapper() timeout = config.slack_timeout / 1000 - if proxy.has_proxy == True: + if proxy.has_proxy: ws = create_connection( self.ws_url, timeout=timeout, @@ -3425,7 +3425,7 @@ class SlackMessage(object): self.open_thread() if message.user_identifier != self.team.myidentifier and ( - config.notify_subscribed_threads == True + config.notify_subscribed_threads is True or config.notify_subscribed_threads == "auto" and not config.auto_open_threads and not config.thread_messages_in_channel |