Skip to content

Commit

Permalink
Parse port argument as int
Browse files Browse the repository at this point in the history
  • Loading branch information
luxaritas authored and parikls committed Mar 11, 2024
1 parent e65177b commit 25b231f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem_usage_ui/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def parse_args():
parser = ArgumentParser()
parser.add_argument("--debug", required=False, default=False, type=bool)
parser.add_argument("--host", required=False, default="localhost")
parser.add_argument("--port", required=False, default=8080)
parser.add_argument("--port", required=False, default=8080, type=int)
return parser.parse_args()


Expand Down

0 comments on commit 25b231f

Please sign in to comment.