Skip to content

Commit

Permalink
Ensure eval is also triggered in case timelapse pause -> error
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Jan 2, 2024
1 parent 0881722 commit 7297fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobileraker/mobileraker_companion.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def _fulfills_evaluation_threshold(self, snapshot: PrinterSnapshot) -> bool:
self._logger.info('No last snapshot available. Evaluating!')
return True

if self._last_snapshot.print_state != snapshot.print_state and not snapshot.is_timelapse_pause and not self._last_snapshot.is_timelapse_pause:
if self._last_snapshot.print_state != snapshot.print_state and not snapshot.is_timelapse_pause:
self._logger.info('State changed. Evaluating!')
return True

Expand Down

0 comments on commit 7297fbc

Please sign in to comment.