Compare commits

...

2 commits

Author SHA1 Message Date
Micke Nordin c83e8b2982 Merge branch 'main' into testing 2023-11-07 14:01:27 +01:00
Micke Nordin a08f473954 remove subscript of type 2023-11-07 14:01:12 +01:00

View file

@ -50,7 +50,7 @@ def remove_downtime(fqdn: str,
requests.post(post_url, headers=headers) requests.post(post_url, headers=headers)
def run_command(command: list[str]) -> tuple: def run_command(command: list) -> tuple:
with subprocess.Popen(command, with subprocess.Popen(command,
stdout=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE) as proc: stderr=subprocess.PIPE) as proc: