Fixed typo
This commit is contained in:
1 parent
b4615c72d8
commit
7d398d2767
1 file changed
+1
-1
+1
-1
@@ -151,7 +151,7 @@ def waitSetlights(off_lights,check_interval):
|
||||
if not outage:
|
||||
# Turn off the lights that were off prior to the power outage
|
||||
for light in off_lights:
|
||||
print "%s: Turning off %s" % datetime(), light.name
|
||||
print "%s: Turning off %s" % datestamp(), light.name
|
||||
light.on = False
|
||||
return 0
|
||||
time.sleep(check_interval)
|
||||
|
||||
Reference in new issue
Block a user