We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f6a8a commit 16cec84Copy full SHA for 16cec84
WeatherStationCoreLink/main.py
@@ -25,12 +25,12 @@ def reboot():
25
#Use Resin.io api to reboot
26
log("Rebooting")
27
rebootResult = balena.models.supervisor.reboot()
28
- log(rebootResult)
29
- if rebootResult['DATA'] != 'OK':
30
- log("Reboot Failed")
31
- else:
32
- log("Reboot worked")
33
- time.sleep(43200)
+ log(rebootResult)
+ if rebootResult['DATA'] != 'OK':
+ log("Reboot Failed")
+ else:
+ log("Reboot worked")
+ time.sleep(43200)
34
return False #basically put itself into a loop
35
36
time.sleep(120)
0 commit comments