Skip to content

Commit

Permalink
Update src/design/plone/ioprenoto/restapi/services/bookable_list/get.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mauro Amico <[email protected]>
  • Loading branch information
folix-01 and mamico authored Oct 12, 2023
1 parent 2533df2 commit 0e9ae6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def reply(self):
def get_uo_contact_info(self, uo):
result = []

for contact in getattr(uo, "contact_info", []):
for contact in getattr(uo, "contact_info", None) || []:
if contact.isBroken():
logger.error(
"Broken relation found in <{UID}>.contact_info".format(UID=uo.UID())
Expand Down

0 comments on commit 0e9ae6a

Please sign in to comment.