add self to function

This commit is contained in:
interfisch 2023-08-19 11:35:46 +02:00
parent 7fc017a668
commit d6ef4f7042
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class Controller:
self.mqtthost = mqtt_host
self.mqttport = mqtt_port
connectToMQTT()
self.connectToMQTT()
def connectToMQTT(self):
print("trying to connect to mqtt")