From 299add850c06e2d91dd0276d14b4d4e5290507f7 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Thu, 6 Aug 2009 20:15:52 +0000 Subject: [PATCH] Have the console command 'info' display all torrents info when no argument is given --- deluge/ui/console/commands/info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deluge/ui/console/commands/info.py b/deluge/ui/console/commands/info.py index 621c0877a..dc2b5bf73 100644 --- a/deluge/ui/console/commands/info.py +++ b/deluge/ui/console/commands/info.py @@ -110,6 +110,9 @@ class Command(BaseCommand): for arg in args: torrent_ids.extend(self.console.match_torrent(arg)) + if not args: + torrent_ids.extend(self.console.match_torrent("")) + def on_torrents_status(status): # Print out the information for each torrent for key, value in status.items():