From 6877886f7db9117f8aa94ee11be7abf0b26bf3f8 Mon Sep 17 00:00:00 2001 From: alateas Date: Wed, 14 Jun 2017 01:01:38 +0300 Subject: [PATCH] Change hard-coded 20. to timeout parameter (#663) * Change hard-coded 20. to timeout paramter Passing timeout parameter to _message_wrapper in send_audio instead of hard-coded 20 seconds * add myself to contributors --- AUTHORS.rst | 1 + telegram/bot.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 9c702dc5b..0828a20dc 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -15,6 +15,7 @@ Contributors The following wonderful people contributed directly or indirectly to this project: +- `Alateas `_ - `Avanatiker `_ - `Anton Tagunov `_ - `Balduro `_ diff --git a/telegram/bot.py b/telegram/bot.py index 24d2c31b5..7fd57c54b 100644 --- a/telegram/bot.py +++ b/telegram/bot.py @@ -443,7 +443,7 @@ class Bot(TelegramObject): disable_notification=disable_notification, reply_to_message_id=reply_to_message_id, reply_markup=reply_markup, - timeout=20., + timeout=timeout, **kwargs) @log