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
This commit is contained in:
alateas 2017-06-14 01:01:38 +03:00 committed by Jannes Höke
parent d16d38530c
commit 6877886f7d
2 changed files with 2 additions and 1 deletions

View file

@ -15,6 +15,7 @@ Contributors
The following wonderful people contributed directly or indirectly to this project:
- `Alateas <https://github.com/alateas>`_
- `Avanatiker <https://github.com/Avanatiker>`_
- `Anton Tagunov <https://github.com/anton-tagunov>`_
- `Balduro <https://github.com/Balduro>`_

View file

@ -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