mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +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)
|
dispatcher.ASYNC_QUEUE.put(0)
|
||||||
|
|
||||||
for i, thr in enumerate(threads):
|
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()
|
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):
|
def _join_threads(self):
|
||||||
for thr in self.__threads:
|
for thr in self.__threads:
|
||||||
|
|
Loading…
Add table
Reference in a new issue