diff options
Diffstat (limited to 'slack/config.py')
-rw-r--r-- | slack/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/config.py b/slack/config.py index 890d6be..723d4d3 100644 --- a/slack/config.py +++ b/slack/config.py @@ -222,7 +222,7 @@ def config_section_workspace_read_cb( return weechat.WEECHAT_CONFIG_OPTION_SET_ERROR if value is None or ( - shared.weechat_version < 0x3080000 + shared.weechat_version < 0x03080000 and value == "" and option.weechat_type != "string" ): @@ -271,7 +271,7 @@ class SlackConfig: # See https://github.com/weechat/weechat/pull/1843 callback_write = ( get_callback_name(config_section_workspace_write_for_old_weechat_cb) - if shared.weechat_version < 0x3080000 + if shared.weechat_version < 0x03080000 else "" ) self._section_workspace = WeeChatSection( |