X Tutup
Skip to content

Commit c103c05

Browse files
committed
updater.py: fix log of thread name
1 parent 8afea8c commit c103c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

telegram/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def _init_thread(self, target, name, *args, **kwargs):
122122
thr.start()
123123

124124
def _thread_wrapper(self, target, *args, **kwargs):
125-
thr_name = current_thread()
125+
thr_name = current_thread().name
126126
self.logger.debug('{0} - started'.format(thr_name))
127127
try:
128128
target(*args, **kwargs)

0 commit comments

Comments
 (0)
X Tutup