mirror of https://gitlab.com/bashrc2/epicyon
Typo
parent
a764fa2418
commit
73855868b3
2
utils.py
2
utils.py
|
|
@ -3923,7 +3923,7 @@ def disallow_announce(content: str, attachment: []) -> bool:
|
||||||
# check for attached images without descriptions
|
# check for attached images without descriptions
|
||||||
if isinstance(attachment, list):
|
if isinstance(attachment, list):
|
||||||
for item in attachment:
|
for item in attachment:
|
||||||
if not isinstance(item. dict):
|
if not isinstance(item, dict):
|
||||||
continue
|
continue
|
||||||
if not item.get('mediaType'):
|
if not item.get('mediaType'):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue