Skip to content

Commit 7860d5f

Browse files
gieljnssnsHugo Dupras
authored andcommitted
remove whitespace
1 parent 9c55a2b commit 7860d5f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

smart_home/Camera.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def moduleMotionDetected(self, module=None, home=None,
476476
return True
477477
elif (self.lastEvent[cam_id]['type'] == 'tag_big_move' or
478478
self.lastEvent[cam_id]['type'] == 'tag_small_move') and\
479-
self.lastEvent[cam_id]['module_id'] == mod_id:
479+
self.lastEvent[cam_id]['module_id'] == mod_id:
480480
return True
481481
return False
482482

@@ -500,9 +500,9 @@ def moduleOpened(self, module=None, home=None, camera=None, exclude=0):
500500
if time_ev < limit:
501501
return False
502502
elif self.events[cam_id][time_ev]['type'] == 'tag_open' and\
503-
self.events[cam_id][time_ev]['module_id'] == mod_id:
503+
self.events[cam_id][time_ev]['module_id'] == mod_id:
504504
return True
505505
elif self.lastEvent[cam_id]['type'] == 'tag_open' and\
506-
self.lastEvent[cam_id]['module_id'] == mod_id:
506+
self.lastEvent[cam_id]['module_id'] == mod_id:
507507
return True
508508
return False

0 commit comments

Comments
 (0)