mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-07 18:30:54 +00:00
Refactoring
This commit is contained in:
parent
b2a0067a57
commit
1289003da1
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue