From 1f2a60d2f9892226f41f463cb54b78a7f9d40567 Mon Sep 17 00:00:00 2001 From: Davte Date: Fri, 21 Feb 2020 00:09:56 +0100 Subject: [PATCH] Syntax-error fixed --- davtelepot/__init__.py | 2 +- davtelepot/bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index f80de53..01a8c5e 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -14,7 +14,7 @@ __author__ = "Davide Testa" __email__ = "davide@davte.it" __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"] __license__ = "GNU General Public License v3.0" -__version__ = "2.4.12" +__version__ = "2.4.13" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/bot.py b/davtelepot/bot.py index c5d9ebd..7c5765b 100644 --- a/davtelepot/bot.py +++ b/davtelepot/bot.py @@ -1238,7 +1238,7 @@ class Bot(TelegramBot, ObjectWithDatabase, MultiLanguageObject): if caption is not None: media['caption'] = caption if parse_mode is not None: - media['parse_mode'] = + media['parse_mode'] = parse_mode if photo is not None: media['type'] = 'photo' media['media'] = photo