notifier: typo at `job_state:completed`

Signed-off-by: Gregor Majcen <majcn.m@gmail.com>
This commit is contained in:
Gregor Majcen 2022-02-28 11:29:13 +01:00 committed by Eric Callahan
parent b6fc692500
commit 553f8862b5
2 changed files with 4 additions and 4 deletions

View File

@ -1699,7 +1699,7 @@ events: *
# You can use multiple events, comma seperated.
# Valid events:
# started
# completed
# complete
# error
# cancelled
body: "Your printer status has changed to {event_name}"

View File

@ -59,9 +59,9 @@ class Notifier:
"job_state:started",
config)
self.events["completed"] = NotifierEvent(
"completed",
"job_state:completed",
self.events["complete"] = NotifierEvent(
"complete",
"job_state:complete",
config)
self.events["error"] = NotifierEvent(