File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
plugwise_usb/nodes/helpers Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -377,7 +377,7 @@ def _detect_rollover(
377377 self ._mac ,
378378 direction
379379 )
380-
380+
381381 return False
382382
383383 def add_empty_log (self , address : int , slot : int ) -> None :
@@ -540,7 +540,8 @@ def _check_prev_production(
540540 elif self ._log_production is None :
541541 self ._log_production = False
542542 return prev_timestamp
543- elif self ._first_prev_log_processed :
543+
544+ if self ._first_prev_log_processed :
544545 self ._first_prev_log_processed = False
545546 return None
546547
@@ -567,7 +568,8 @@ def _check_next_production(
567568 elif self ._log_production is None :
568569 self ._log_production = False
569570 return next_timestamp
570- elif self ._first_next_log_processed :
571+
572+ if self ._first_next_log_processed :
571573 self ._first_next_log_processed = False
572574 return None
573575
You can’t perform that action at this time.
0 commit comments