Fix-up target method typo

This commit is contained in:
Lonami Exo 2017-09-25 11:57:42 +02:00
parent 01c91bb895
commit 493f5cec1f

View File

@ -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()