mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +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):
|
||||
if report_method is not None:
|
||||
Thread(
|
||||
target=report_method,
|
||||
target=report_error,
|
||||
args=(code, message, report_method)
|
||||
).start()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user