mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix deprecation warning
This commit is contained in:
parent
3c47c7ef77
commit
45a6ea5a19
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue