mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 12:34:43 +00:00
return deferred for proper command line behavior
This commit is contained in:
parent
ce2516ab2c
commit
837322478b
@ -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…
x
Reference in New Issue
Block a user