From 08796fb0373256c85d66d421e26afbb94b3d11f4 Mon Sep 17 00:00:00 2001 From: mkaay Date: Wed, 26 Jan 2011 13:38:11 +0100 Subject: overview speed fix, added lib dir --- module/gui/Overview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/gui') diff --git a/module/gui/Overview.py b/module/gui/Overview.py index 47f3a7421..bbcf6f9f6 100644 --- a/module/gui/Overview.py +++ b/module/gui/Overview.py @@ -98,7 +98,7 @@ class OverviewDelegate(QItemDelegate): partsf = index.data(OverviewModel.PartsFinished).toString() parts = index.data(OverviewModel.Parts).toString() eta = index.data(OverviewModel.ETA).toString() - speed = index.data(OverviewModel.Speed).toString() + speed = index.data(OverviewModel.Speed).toString() or 0 progress = int(index.data(OverviewModel.Progress).toString()) statusline = QString(_("Parts: %s/%s ETA: %s Speed: %s kb/s" % (partsf, parts, eta, speed))) -- cgit v1.2.3