diff --git a/src/linkahead/configuration.py b/src/linkahead/configuration.py index c72c46e895e375e7750e658e91dc3c3ce51b9ebd..e11749fbc9ef768b1a4ffa60364ac898ab9391e8 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(')'):