merge-requests/30/head
Bob Mottram 2022-12-29 11:55:46 +00:00
parent a764fa2418
commit 73855868b3
1 changed files with 1 additions and 1 deletions

View File

@ -3923,7 +3923,7 @@ def disallow_announce(content: str, attachment: []) -> bool:
# check for attached images without descriptions
if isinstance(attachment, list):
for item in attachment:
if not isinstance(item. dict):
if not isinstance(item, dict):
continue
if not item.get('mediaType'):
continue