Skip to content

Commit bda0244

Browse files
committed
updater: fix print in log
1 parent 1f5601d commit bda0244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

telegram/ext/updater.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,9 +380,9 @@ def _join_async_threads(self):
380380
dispatcher.ASYNC_QUEUE.put(0)
381381

382382
for i, thr in enumerate(threads):
383-
self.logger.debug('Waiting for async thread {0}/{1} to end'.format(i, total))
383+
self.logger.debug('Waiting for async thread {0}/{1} to end'.format(i + 1, total))
384384
thr.join()
385-
self.logger.debug('async thread {0}/{1} has ended'.format(i, total))
385+
self.logger.debug('async thread {0}/{1} has ended'.format(i + 1, total))
386386

387387
def _join_threads(self):
388388
for thr in self.__threads:

0 commit comments

Comments
 (0)