Skip to content

Commit

Permalink
Fix @state_influencer typo
Browse files Browse the repository at this point in the history
  • Loading branch information
the-ress authored and TojikCZ committed Nov 27, 2023
1 parent e662c6f commit dccf119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prusa/link/printer_adapter/state_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ def ready(self):
if self.data.base_state == State.IDLE:
self.data.base_state = State.READY

@state_influencer(StateChange(to_states={State.READY: Source.USER}))
@state_influencer(StateChange(to_states={State.IDLE: Source.USER}))
def idle(self):
"""If we were READY, sets te base state to IDLE"""
if self.data.base_state == State.READY:
Expand Down

0 comments on commit dccf119

Please sign in to comment.