mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-26 11:23:46 +03:00
Fix-up target method typo
This commit is contained in:
parent
01c91bb895
commit
493f5cec1f
|
@ -38,7 +38,7 @@ def report_error(code, message, report_method):
|
||||||
def rpc_message_to_error(code, message, report_method=None):
|
def rpc_message_to_error(code, message, report_method=None):
|
||||||
if report_method is not None:
|
if report_method is not None:
|
||||||
Thread(
|
Thread(
|
||||||
target=report_method,
|
target=report_error,
|
||||||
args=(code, message, report_method)
|
args=(code, message, report_method)
|
||||||
).start()
|
).start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user