Skip to content

Commit 76d3519

Browse files
committed
fix
1 parent 8a6fa91 commit 76d3519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pvconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def apply_environment_settings(self):
136136
self.mqtt = self.getenv("pvmqtt") == "True"
137137
if os.getenv("pvmqtthost") != None:
138138
self.mqtthost = self.getenv("pvmqtthost")
139-
if os.getenv("pvmqtt") != None:
139+
if os.getenv("pvmqttport") != None:
140140
self.mqttport = int(self.getenv("pvmqttport"))
141141
if os.getenv("pvmqttauth") != None:
142142
self.mqttauth = self.getenv("pvmqttauth") == "True"

0 commit comments

Comments
 (0)