Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Ennik committed Jun 13, 2022
1 parent 8a6fa91 commit 76d3519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pvconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def apply_environment_settings(self):
self.mqtt = self.getenv("pvmqtt") == "True"
if os.getenv("pvmqtthost") != None:
self.mqtthost = self.getenv("pvmqtthost")
if os.getenv("pvmqtt") != None:
if os.getenv("pvmqttport") != None:
self.mqttport = int(self.getenv("pvmqttport"))
if os.getenv("pvmqttauth") != None:
self.mqttauth = self.getenv("pvmqttauth") == "True"
Expand Down

0 comments on commit 76d3519

Please sign in to comment.