remove subscript of type

This commit is contained in:
Micke Nordin 2023-11-07 14:01:12 +01:00
parent f4eca0b747
commit a08f473954

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: