Explorar el Código

add some logging

Sven Czarnian hace 3 años
padre
commit
fd324ea747
Se han modificado 1 ficheros con 2 adiciones y 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')