Fix parse_mode with albums (#4494)

Closes #4492.
This commit is contained in:
Arkadii Halchenko 2024-10-20 20:50:08 +03:00 committed by GitHub
parent 8138be2503
commit 3f589b287d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -422,7 +422,7 @@ class UploadMethods:
return result
if formatting_entities is not None:
if formatting_entities:
msg_entities = formatting_entities
else:
caption, msg_entities =\