Skip to content

Commit

Permalink
Fix #96 - Usage of wrong language key for print start notifcations
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Jun 14, 2024
1 parent ea7277e commit 9968ffb
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 @@ -327,7 +327,7 @@ def _state_notification(self, cfg: DeviceNotificationEntry, cur_snap: PrinterSna
body = None
if cur_snap.print_state == "printing":
# Transitions from paused to printing should be resumed
body = "state_resumed_body" if cfg.snap.state == "paused" else "state_started_body"
body = "state_resumed_body" if cfg.snap.state == "paused" else "state_printing_body"
elif cur_snap.print_state == "paused":
body = "state_paused_body"
elif cur_snap.print_state == "complete":
Expand Down

0 comments on commit 9968ffb

Please sign in to comment.