diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 578fd1b69..9410901be 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -583,7 +583,7 @@ class Torrent(object): def get_file_progress(self): """Returns the file progress as a list of floats.. 0.0 -> 1.0""" if not self.handle.has_metadata(): - return 0.0 + return [] file_progress = self.handle.file_progress() ret = []