Module: deluge Branch: master Commit: d0346a104f25a4cef177badb90356dc6a1e9978f
Author: Nick <[email protected]> Date: Wed Feb 2 13:45:17 2011 +0100 don't need len() --- deluge/ui/console/modes/alltorrents.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/console/modes/alltorrents.py b/deluge/ui/console/modes/alltorrents.py index 1ce09e6..1991b04 100644 --- a/deluge/ui/console/modes/alltorrents.py +++ b/deluge/ui/console/modes/alltorrents.py @@ -374,7 +374,7 @@ class AllTorrents(BaseMode): def _show_torrent_actions_popup(self): #cid = self._current_torrent_id() - if len(self.marked): + if self.marked: self.popup = SelectablePopup(self,"Torrent Actions",self._torrent_action) self.popup.add_line("_Pause",data=ACTION.PAUSE) self.popup.add_line("_Resume",data=ACTION.RESUME) -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
