Spaces:
Sleeping
Sleeping
cast port to int
Browse files
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
|