yet another python 3.6 fix

This commit is contained in:
Michał Trojnara 2022-08-08 09:19:19 +02:00
parent 4eeaee4c16
commit 8e075d625d

View File

@ -133,7 +133,7 @@ def main() -> None:
hostname, port = server.start_server()
program.append(f"{hostname}:{port}")
try:
osslsigncode = subprocess.run(program, check=True, text=True)
osslsigncode = subprocess.run(program, check=True, universal_newlines=True)
osslsigncode.check_returncode()
except subprocess.CalledProcessError as err:
ret = err.returncode