8000 Fire time should be reinitialized to have successful next run · sidpug/lib-python@ff57196 · GitHub
[go: up one dir, main page]

Skip to content

Commit ff57196

Browse files
author
amorozenko
committed
Fire time should be reinitialized to have successful next run
1 parent 5dca229 commit ff57196

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

blynktimer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ def start(t_id):
8383
if timer is None:
8484
raise TimerError('Timer id={} not found'.format(t_id))
8585
Timer.timers[t_id].stopped = False
86+
Timer.timers[t_id].fire_time = None
87+
Timer.timers[t_id].fire_time_prev = None
8688

8789
@staticmethod
8890
def is_stopped(t_id):

0 commit comments

Comments
 (0)
0