fix if not

This commit is contained in:
interfisch 2023-08-19 11:33:55 +02:00
parent c5f86c256d
commit 37d06b2fb3
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ class Controller:
while run:
if !self.connected:
if not self.connected:
if (time.time()>self.last_reconnectTry+30):
connectToMQTT()
self.last_reconnectTry=time.time()