Add f-string

pull/1/head
erik 12 months ago
parent 43988291c6
commit e21155fdec

@ -93,11 +93,11 @@ class ExecutionApi:
shell=shell,
check=check,
stdout=PIPE,
stderr=STDOUT,
stderr=PIPE,
text=True).stdout
output = output.rstrip()
except CalledProcessError as exc:
print("Command failed with code: ", exc.returncode, " and message:", exc.stderr)
print(f"Command failed with code: {exc.returncode} and message: {exc.stderr}")
raise exc
return output

Loading…
Cancel
Save