diff --git a/davtelepot/__init__.py b/davtelepot/__init__.py index 3d1ae55..410ab76 100644 --- a/davtelepot/__init__.py +++ b/davtelepot/__init__.py @@ -7,7 +7,7 @@ __author__ = "Davide Testa" __email__ = "davte@libero.it" __credits__ = "Marco Origlia" __license__ = "GNU General Public License v3.0" -__version__ = "1.4.3" +__version__ = "1.4.4" __maintainer__ = "Davide Testa" __contact__ = "t.me/davte" diff --git a/davtelepot/custombot.py b/davtelepot/custombot.py index 55596d8..2604afb 100644 --- a/davtelepot/custombot.py +++ b/davtelepot/custombot.py @@ -1489,6 +1489,8 @@ class Bot(telepot.aio.Bot, Gettable): ) as photo_file: buffered_picture.write(photo_file.read()) photo = buffered_picture.getvalue() + else: + use_stored = False caption = escape_html_chars(caption) if len(caption) > 199: new_caption = ''