1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Refactoring

This commit is contained in:
Tuna Celik 2020-08-17 03:01:21 +02:00
parent df80a7f6ef
commit b2fc8bbb0c
2 changed files with 8 additions and 3 deletions

View file

@ -28,4 +28,5 @@ class Hook(hook.BaseHook):
self.channel.basic_publish(
exchange='',
routing_key=self.topic,
body=notification_item.to_json().encode(encoding=self.encoding))
body=notification_item.to_json().encode(encoding=self.encoding)
)