mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Refactoring
This commit is contained in:
parent
d3d0437bce
commit
da31f80ba5
1 changed files with 3 additions and 1 deletions
|
@ -28,5 +28,7 @@ class Hook(hook.BaseHook):
|
||||||
self._channel.basic_publish(
|
self._channel.basic_publish(
|
||||||
exchange='',
|
exchange='',
|
||||||
routing_key=self._topic,
|
routing_key=self._topic,
|
||||||
body=notification_item.to_json().encode(encoding=self._encoding)
|
body=notification_item.to_json().encode(
|
||||||
|
encoding=self._encoding
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue