diff options
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py index 2c5b165..7f4d3d8 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -4410,9 +4410,7 @@ def closed_slack_debug_buffer_cb(data, buffer): def create_slack_debug_buffer(): global slack_debug, debug_string - if slack_debug is not None: - w.buffer_set(slack_debug, "display", "1") - else: + if slack_debug is None: debug_string = None slack_debug = w.buffer_new("slack-debug", "", "", "closed_slack_debug_buffer_cb", "") w.buffer_set(slack_debug, "notify", "0") |