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

Refactoring

This commit is contained in:
Tuna Celik 2020-08-17 02:37:21 +02:00
parent b2a0067a57
commit 1289003da1

View file

@ -40,4 +40,9 @@ class HookNotificationItem:
self.content = content
def to_json(self):
return json.dumps(self, default=lambda o: o.__dict__, sort_keys=True, indent=4)
return json.dumps(
self,
default=lambda o: o.__dict__,
sort_keys=True,
indent=4
)