Skip to content

Commit

Permalink
change type param port str->int
Browse files Browse the repository at this point in the history
  • Loading branch information
PannapatC authored and PannapatC committed Dec 6, 2023
1 parent 62984e1 commit 4c1b67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yasmin_viewer/yasmin_viewer/yasmin_viewer_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def get_fsm(fsm_name):
# app.run(host="localhost", port=5000)

_host = str(self.get_parameter('host').value)
_port = str(self.get_parameter('port').value)
_port = int(self.get_parameter('port').value)
print(f"Started Yasmin viewer on {_host}:{str(_port)}")
serve(app,
host = _host,
Expand Down

0 comments on commit 4c1b67d

Please sign in to comment.