Skip to content

Commit 6877886

Browse files
ansgar-forestierjh0ker
authored andcommitted
Change hard-coded 20. to timeout parameter (python-telegram-bot#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
1 parent d16d385 commit 6877886

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Contributors
1515

1616
The following wonderful people contributed directly or indirectly to this project:
1717

18+
- `Alateas <https://github.com/alateas>`_
1819
- `Avanatiker <https://github.com/Avanatiker>`_
1920
- `Anton Tagunov <https://github.com/anton-tagunov>`_
2021
- `Balduro <https://github.com/Balduro>`_

telegram/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def send_audio(self,
443443
disable_notification=disable_notification,
444444
reply_to_message_id=reply_to_message_id,
445445
reply_markup=reply_markup,
446-
timeout=20.,
446+
timeout=timeout,
447447
**kwargs)
448448

449449
@log

0 commit comments

Comments
 (0)