linx5o commited on
Commit
8f1ac30
·
1 Parent(s): 1bfc16c

cast port to int

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ else:
44
  hivemq_host = os.getenv("host")
45
  hivemq_username = os.getenv("username")
46
  hivemq_password = os.getenv("password")
47
- hivemq_port = os.getenv("port")
48
  reactor = os.getenv("reactor")
49
 
50
  # button to submit the form
 
44
  hivemq_host = os.getenv("host")
45
  hivemq_username = os.getenv("username")
46
  hivemq_password = os.getenv("password")
47
+ hivemq_port = int(os.getenv("port"))
48
  reactor = os.getenv("reactor")
49
 
50
  # button to submit the form