Skip to content

Commit

Permalink
#282 always return a string
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Feb 8, 2024
1 parent c43ef8a commit 20dddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def get_output_line(cmd: str) -> str:
out, _ = proc.communicate()
if proc.returncode != 0:
print(f"Error: {cmd} returned {proc.returncode}")
return None
return ""
return out.splitlines()[0]


Expand Down

0 comments on commit 20dddce

Please sign in to comment.