Refactoring

This commit is contained in:
Tuna Celik
2020-08-17 03:32:13 +02:00
parent d3d0437bce
commit da31f80ba5

View File

@@ -28,5 +28,7 @@ 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
)
)