Tuna Celik 5 anni fa
parent
commit
1289003da1
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. 6 1
      radicale/hook/__init__.py

+ 6 - 1
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
+        )