add self to function
This commit is contained in:
parent
7fc017a668
commit
d6ef4f7042
|
@ -81,7 +81,7 @@ class Controller:
|
||||||
self.mqtthost = mqtt_host
|
self.mqtthost = mqtt_host
|
||||||
self.mqttport = mqtt_port
|
self.mqttport = mqtt_port
|
||||||
|
|
||||||
connectToMQTT()
|
self.connectToMQTT()
|
||||||
|
|
||||||
def connectToMQTT(self):
|
def connectToMQTT(self):
|
||||||
print("trying to connect to mqtt")
|
print("trying to connect to mqtt")
|
||||||
|
|
Loading…
Reference in New Issue