mirror of https://github.com/Desuuuu/klipper.git
Don't crash when using naive time remaining (#119)
Editing a tuple is not allowed in Python, it needs to be either converted to a List or re-created.
This commit is contained in:
parent
3da8232097
commit
90ebed1fe4
|
@ -76,7 +76,7 @@ class DGUSStatus:
|
|||
if self.finish_at is not None:
|
||||
self.finish_at += pause_duration
|
||||
if self.finish_at_naive is not None:
|
||||
self.finish_at_naive[1] += pause_duration
|
||||
self.finish_at_naive = (self.finish_at_naive[0], self.finish_at_naive[1] + pause_duration)
|
||||
self.pause_at = None
|
||||
return eventtime + 5.
|
||||
|
||||
|
|
Loading…
Reference in New Issue