aboutsummaryrefslogtreecommitdiffstats
path: root/slack/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/config.py')
-rw-r--r--slack/config.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/slack/config.py b/slack/config.py
index 10cc0a6..7defa99 100644
--- a/slack/config.py
+++ b/slack/config.py
@@ -367,11 +367,8 @@ def config_section_workspace_write_for_old_weechat_cb(
for workspace in shared.workspaces.values():
for option in vars(workspace.config).values():
if isinstance(option, WeeChatOption):
- if (
- option.weechat_type != "string"
- or not weechat.config_option_is_null(
- option._pointer # pyright: ignore [reportPrivateUsage]
- )
+ if option.weechat_type != "string" or not weechat.config_option_is_null(
+ option._pointer # pyright: ignore [reportPrivateUsage]
):
if not weechat.config_write_option(
config_file,