Syntax-error fixed
This commit is contained in:
parent
222713005f
commit
1f2a60d2f9
@ -14,7 +14,7 @@ __author__ = "Davide Testa"
|
|||||||
__email__ = "davide@davte.it"
|
__email__ = "davide@davte.it"
|
||||||
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
__credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
|
||||||
__license__ = "GNU General Public License v3.0"
|
__license__ = "GNU General Public License v3.0"
|
||||||
__version__ = "2.4.12"
|
__version__ = "2.4.13"
|
||||||
__maintainer__ = "Davide Testa"
|
__maintainer__ = "Davide Testa"
|
||||||
__contact__ = "t.me/davte"
|
__contact__ = "t.me/davte"
|
||||||
|
|
||||||
|
@ -1238,7 +1238,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject):
|
|||||||
if caption is not None:
|
if caption is not None:
|
||||||
media['caption'] = caption
|
media['caption'] = caption
|
||||||
if parse_mode is not None:
|
if parse_mode is not None:
|
||||||
media['parse_mode'] =
|
media['parse_mode'] = parse_mode
|
||||||
if photo is not None:
|
if photo is not None:
|
||||||
media['type'] = 'photo'
|
media['type'] = 'photo'
|
||||||
media['media'] = photo
|
media['media'] = photo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user