Explorar o código

add some logging

Sven Czarnian %!s(int64=3) %!d(string=hai) anos
pai
achega
fd324ea747
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      aman/com/Weather.py

+ 2 - 1
aman/com/Weather.py

@@ -52,4 +52,5 @@ class Weather(Thread):
 
             if None == self.lastUpdateTried or self.lastUpdateTried <= now:
                 if True == self.provider.receiveWindData():
-                    self.nextUpdate = self.provider.updateTime
+                    self.nextUpdate = self.provider.updateTime
+                    print('Received new wind data')