From 3214c498d185240ccf7e70aec5c94cd71cfde37f Mon Sep 17 00:00:00 2001 From: Tuna Celik Date: Wed, 19 Aug 2020 01:40:59 +0200 Subject: [PATCH] Code Refactoring --- radicale/app/proppatch.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/radicale/app/proppatch.py b/radicale/app/proppatch.py index 70bd22e7..12390b67 100644 --- a/radicale/app/proppatch.py +++ b/radicale/app/proppatch.py @@ -118,8 +118,10 @@ class ApplicationProppatchMixin: hook_notification_item = HookNotificationItem( HookNotificationItemTypes.CPATCH, access.path, - DefusedET.tostring(xml_content, encoding=self._encoding) - .decode(encoding=self._encoding) + DefusedET.tostring( + xml_content, + encoding=self._encoding + ).decode(encoding=self._encoding) ) self._hook.notify(hook_notification_item) except ValueError as e: