From 74684a84f6e810612a4ff1fd7c1aa1dcbf4e24de Mon Sep 17 00:00:00 2001 From: "i.nueske" <i.nueske@indiscale.com> Date: Wed, 4 Dec 2024 14:41:43 +0100 Subject: [PATCH] MNT: Fix Typo --- src/linkahead/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linkahead/configuration.py b/src/linkahead/configuration.py index c72c46e..e11749f 100644 --- a/src/linkahead/configuration.py +++ b/src/linkahead/configuration.py @@ -89,7 +89,7 @@ def config_to_yaml(config: ConfigParser) -> dict[str, dict[str, Union[int, str, # TODO: Can the type be inferred from the config object? if key in ["debug"]: valobj[s][key] = int(value) - if key in ["timeout"]: + elif key in ["timeout"]: if str(value).lower() in ["none", "null"]: valobj[s][key] = None elif value.startswith('(') and value.endswith(')'): -- GitLab