mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
return deferred for proper command line behavior
This commit is contained in:
parent
ce2516ab2c
commit
837322478b
1 changed files with 3 additions and 1 deletions
|
@ -47,4 +47,6 @@ class Command(BaseCommand):
|
|||
for key, value in status.items():
|
||||
self.console.write("{!info!}%s: {!input!}%s" % (key, value))
|
||||
|
||||
client.core.get_cache_status().addCallback(on_cache_status)
|
||||
d = client.core.get_cache_status()
|
||||
d.addCallback(on_cache_status)
|
||||
return d
|
||||
|
|
Loading…
Add table
Reference in a new issue