sharing: code review

This commit is contained in:
Peter Bieringer
2026-03-22 08:16:37 +01:00
parent f144aacc57
commit 70cc6d4065

View File

@@ -112,7 +112,7 @@ class ApplicationPartGet(ApplicationBase):
if not item.tag:
return (httputils.NOT_ALLOWED if limited_access else
httputils.DIRECTORY_LISTING)
if self._sharing._enabled and share and share['ShareType'] == "bday":
if share and share['ShareType'] == "bday":
content_type = xmlutils.MIMETYPES["VCALENDAR"]
else:
content_type = xmlutils.MIMETYPES[item.tag]