sharing: check that Properties are not none

This commit is contained in:
Peter Bieringer
2026-03-08 12:18:48 +01:00
parent 713e93e932
commit 2852ebdd9b

View File

@@ -944,7 +944,7 @@ class BaseSharing:
elif Properties == {}:
# empty, nothing to do
pass
else:
elif share['Properties'] is not None:
# replace properties
for prop in share['Properties']:
if logger.isEnabledFor(logging.DEBUG):