Skip to content

Commit

Permalink
port fix
Browse files Browse the repository at this point in the history
  • Loading branch information
divi255 committed Nov 11, 2021
1 parent 7233f89 commit 8039c78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/switch-mqtt-psrt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ h = a.HOST

if ':' in h:
host, port = h.rsplit(':', 1)
port = int(port)
else:
host = h
port = 2873 if a.TYPE == 'psrt' else 1883
Expand Down

0 comments on commit 8039c78

Please sign in to comment.