Skip to content
Snippets Groups Projects
Commit 74684a84 authored by I. Nüske's avatar I. Nüske
Browse files

MNT: Fix Typo

parent 822069cc
No related branches found
No related tags found
2 merge requests!175BUG: Request responses without the "Set-Cookie" header no longer overwrite the...,!167Separate connect/read timeouts in pylinkahead.ini
Pipeline #58638 passed
...@@ -89,7 +89,7 @@ def config_to_yaml(config: ConfigParser) -> dict[str, dict[str, Union[int, str, ...@@ -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? # TODO: Can the type be inferred from the config object?
if key in ["debug"]: if key in ["debug"]:
valobj[s][key] = int(value) valobj[s][key] = int(value)
if key in ["timeout"]: elif key in ["timeout"]:
if str(value).lower() in ["none", "null"]: if str(value).lower() in ["none", "null"]:
valobj[s][key] = None valobj[s][key] = None
elif value.startswith('(') and value.endswith(')'): elif value.startswith('(') and value.endswith(')'):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment