Browse Source

remove useless checks

Sven Czarnian 3 years ago
parent
commit
11eae85e35
1 changed files with 0 additions and 4 deletions
  1. 0 4
      aman/com/Weather.py

+ 0 - 4
aman/com/Weather.py

@@ -60,10 +60,6 @@ class Weather(Thread):
                 time.sleep(1)
                 continue
 
-            # calculate the theoretical next try for an update
-            if None != self.lastUpdateTried:
-                earliestUpdate = self.lastUpdateTried + datetime.timedelta(minutes=2)
-
             if None == self.lastUpdateTried or self.lastUpdateTried <= now:
                 if True == self.provider.receiveWindData():
                     self.nextUpdate = self.provider.updateTime