added type annotation. passed mypy

This commit is contained in:
Kristian Krsnik 2023-08-15 23:01:09 +02:00
parent 7eb2ab7fe3
commit ea99231f03
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal
def parseArgv(argv: list[str]) -> dict[str, list[str]]:
cli_options = {}
buffer = None
cli_options: dict = {}
buffer: str = ''
for arg in argv:
if arg.startswith('--'):