Fix deprecation warning
This commit is contained in:
parent
3c47c7ef77
commit
45a6ea5a19
@ -210,7 +210,7 @@ class DelugeRPCProtocol(Protocol):
|
|||||||
RPC_ERROR,
|
RPC_ERROR,
|
||||||
request_id,
|
request_id,
|
||||||
(exceptionType.__name__,
|
(exceptionType.__name__,
|
||||||
exceptionValue.message,
|
exceptionValue.args[0] if len(exceptionValue.args) == 1 else "",
|
||||||
"".join(traceback.format_tb(exceptionTraceback)))
|
"".join(traceback.format_tb(exceptionTraceback)))
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user