Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Jul 16, 2024
1 parent 5af84b9 commit c6ca70d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c6ca70d

Please sign in to comment.