mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Make a copy of the args and kwargs when making a daemon call in classic mode.. This makes it's
behaviour to the same as when making a RPC
This commit is contained in:
parent
3f8441af6a
commit
9c40b777f3
1 changed files with 4 additions and 1 deletions
|
@ -430,8 +430,11 @@ class DaemonClassicProxy(DaemonProxy):
|
|||
d.errback(e)
|
||||
return d
|
||||
|
||||
_args = list(args)
|
||||
_kwargs = dict(kwargs)
|
||||
|
||||
try:
|
||||
result = m(*args, **kwargs)
|
||||
result = m(*_args, **_kwargs)
|
||||
except Exception, e:
|
||||
d.errback(e)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue