From 54f5307fc74c5f60314f09991a20b868b5837d07 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sun, 20 Aug 2023 13:29:07 +0200 Subject: Use eight digits for the WeeChat version It's four parts with two digits each, so it's more consistent to use eight digits even though the first is a zero. --- slack/weechat_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slack/weechat_config.py') diff --git a/slack/weechat_config.py b/slack/weechat_config.py index 9db9625..78b36a1 100644 --- a/slack/weechat_config.py +++ b/slack/weechat_config.py @@ -164,7 +164,7 @@ class WeeChatOption(Generic[WeeChatOptionType]): value = None - if shared.weechat_version < 0x3050000: + if shared.weechat_version < 0x03050000: default_value = str(default_value) value = default_value -- cgit