Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Avgor46 committed Oct 6, 2023
1 parent d32478e commit 791fe2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

command = subprocess.run(["cargo", "build"])
if command.returncode != 0:
print('Cargo build exited with code ' + command.returncode)
print('Cargo build exited with code ' + str(command.returncode))
exit(command.returncode)

build_dir = os.path.dirname(os.path.realpath(__file__))
target_dir = os.path.join(build_dir, "target", "debug")
Expand Down

0 comments on commit 791fe2e

Please sign in to comment.