From 1289003da160cf55378ccf3b1f518e78c9d937bb Mon Sep 17 00:00:00 2001 From: Tuna Celik Date: Mon, 17 Aug 2020 02:37:21 +0200 Subject: [PATCH] Refactoring --- radicale/hook/__init__.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/radicale/hook/__init__.py b/radicale/hook/__init__.py index a1aea80f..98562bcb 100644 --- a/radicale/hook/__init__.py +++ b/radicale/hook/__init__.py @@ -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 + )