Skip to content

Commit c372d51

Browse files
authored
Ensure hub port is an integer (#219)
* Ignore vscode files * Port hub must be int
1 parent 4f8439b commit c372d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

insteonplm/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def do_set_hub_connection(self, args):
749749
username = params[0]
750750
password = params[1]
751751
host = params[2]
752-
port = params[3]
752+
port = int(params[3])
753753
except IndexError:
754754
pass
755755

0 commit comments

Comments
 (0)