notifier: typo at `job_state:completed`
Signed-off-by: Gregor Majcen <majcn.m@gmail.com>
This commit is contained in:
parent
b6fc692500
commit
553f8862b5
|
@ -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}"
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue