diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index 95b380d8b..feef72873 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -592,6 +592,8 @@ class Torrent(object): ret.append(float(file_progress[i]) / float(f["size"])) except ZeroDivisionError: ret.append(0.0) + except IndexError: + return [] return ret