mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Changed HookNotificationItem preparition priority
This commit is contained in:
parent
3214c498d1
commit
90f10f2c4a
1 changed files with 2 additions and 2 deletions
|
@ -113,8 +113,6 @@ class ApplicationProppatchMixin:
|
|||
headers = {"DAV": httputils.DAV_HEADERS,
|
||||
"Content-Type": "text/xml; charset=%s" % self._encoding}
|
||||
try:
|
||||
xml_answer = xml_proppatch(base_prefix, path, xml_content,
|
||||
item)
|
||||
hook_notification_item = HookNotificationItem(
|
||||
HookNotificationItemTypes.CPATCH,
|
||||
access.path,
|
||||
|
@ -123,6 +121,8 @@ class ApplicationProppatchMixin:
|
|||
encoding=self._encoding
|
||||
).decode(encoding=self._encoding)
|
||||
)
|
||||
xml_answer = xml_proppatch(base_prefix, path, xml_content,
|
||||
item)
|
||||
self._hook.notify(hook_notification_item)
|
||||
except ValueError as e:
|
||||
logger.warning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue