diff --git a/deluge/ui/console/modes/torrentdetail.py b/deluge/ui/console/modes/torrentdetail.py index 405b61a4a..1a803e5f1 100644 --- a/deluge/ui/console/modes/torrentdetail.py +++ b/deluge/ui/console/modes/torrentdetail.py @@ -347,9 +347,10 @@ class TorrentDetail(BaseMode, component.Component): return (off,idx) - def __get_file_list_length(self, file_list=None): + + def _get_file_list_length(self, file_list=None): """ - Counts length of the displayed file list. + Returns amount of elements in file list, including files in (expanded) folders. """ if file_list == None: file_list = self.file_list