From a73fb338f1ae9a026b834da7e04f08b5c0303e35 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Tue, 17 Jul 2012 23:21:24 +0200 Subject: [PATCH] Fix console not working with an empty session --- deluge/ui/console/modes/alltorrents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index f1582e6f9..66bafebe0 100644 --- a/deluge/ui/console/modes/alltorrents.py +++ b/deluge/ui/console/modes/alltorrents.py @@ -1139,7 +1139,7 @@ class AllTorrents(BaseMode, component.Component): reactor.stop() return - if self.numtorrents == 0 or self.popup: + if self.numtorrents < 0: return elif self.entering_search: