Browse Source

add some logging

Sven Czarnian 3 năm trước cách đây
mục cha
commit
fd324ea747
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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')