From c6ca70d37697651f8fd3dc61871668e78100275f Mon Sep 17 00:00:00 2001 From: Chris Dzombak Date: Tue, 16 Jul 2024 13:36:26 -0400 Subject: [PATCH] fmt --- config.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config.py b/config.py index 8292a1a..2d2e8f8 100644 --- a/config.py +++ b/config.py @@ -116,9 +116,7 @@ def config_from_file( ) if not isinstance(cfg.notifier.req_timeout_s, (int, float)): raise ConfigValidationError("notifier.req_timeout_s must be a number") - image_method_str = ntfy_cfg_dict.get( - "image_method", cfg.notifier.image_method - ) + image_method_str = ntfy_cfg_dict.get("image_method", cfg.notifier.image_method) if image_method_str: cfg.notifier.image_method = ImageAttachMethod.from_str(image_method_str) cfg.notifier.images_cc_dir = ntfy_cfg_dict.get(