Skip to content

Commit 16cec84

Browse files
committed
Correct use of tabs/spaces
1 parent 66f6a8a commit 16cec84

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

WeatherStationCoreLink/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ def reboot():
2525
#Use Resin.io api to reboot
2626
log("Rebooting")
2727
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)
28+
log(rebootResult)
29+
if rebootResult['DATA'] != 'OK':
30+
log("Reboot Failed")
31+
else:
32+
log("Reboot worked")
33+
time.sleep(43200)
3434
return False #basically put itself into a loop
3535

3636
time.sleep(120)

0 commit comments

Comments
 (0)