mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
updater: fix print in log
This commit is contained in:
parent
1f5601dae2
commit
bda0244ed8
1 changed files with 2 additions and 2 deletions
|
@ -380,9 +380,9 @@ class Updater(object):
|
|||
dispatcher.ASYNC_QUEUE.put(0)
|
||||
|
||||
for i, thr in enumerate(threads):
|
||||
self.logger.debug('Waiting for async thread {0}/{1} to end'.format(i, total))
|
||||
self.logger.debug('Waiting for async thread {0}/{1} to end'.format(i + 1, total))
|
||||
thr.join()
|
||||
self.logger.debug('async thread {0}/{1} has ended'.format(i, total))
|
||||
self.logger.debug('async thread {0}/{1} has ended'.format(i + 1, total))
|
||||
|
||||
def _join_threads(self):
|
||||
for thr in self.__threads:
|
||||
|
|
Loading…
Reference in a new issue