sharing: check that Properties are not none
This commit is contained in:
@@ -944,7 +944,7 @@ class BaseSharing:
|
|||||||
elif Properties == {}:
|
elif Properties == {}:
|
||||||
# empty, nothing to do
|
# empty, nothing to do
|
||||||
pass
|
pass
|
||||||
else:
|
elif share['Properties'] is not None:
|
||||||
# replace properties
|
# replace properties
|
||||||
for prop in share['Properties']:
|
for prop in share['Properties']:
|
||||||
if logger.isEnabledFor(logging.DEBUG):
|
if logger.isEnabledFor(logging.DEBUG):
|
||||||
|
|||||||
Reference in New Issue
Block a user