mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-11-03 23:42:30 +01:00
Update system.py
This commit is contained in:
1 parent
314d36e0dc
commit
6f4e8615a3
1 file changed
+2
-2
+2
-2
@@ -639,9 +639,9 @@ def handleMultiPing(nodeID=0, deviceID=1):
|
||||
|
||||
|
||||
def handleWxBroadcast(deviceID=1):
|
||||
# only allow API call every 30 minutes
|
||||
# only allow API call every 15 minutes
|
||||
clock = datetime.now()
|
||||
if clock.minute % 30 != 0:
|
||||
if clock.minute % 15 == 0:
|
||||
return False
|
||||
|
||||
# check for alerts
|
||||
|
||||
Reference in new issue
Block a user