We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f5601d commit bda0244Copy full SHA for bda0244
telegram/ext/updater.py
@@ -380,9 +380,9 @@ def _join_async_threads(self):
380
dispatcher.ASYNC_QUEUE.put(0)
381
382
for i, thr in enumerate(threads):
383
- 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))
384
thr.join()
385
- 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))
386
387
def _join_threads(self):
388
for thr in self.__threads:
0 commit comments