summaryrefslogtreecommitdiffstats
path: root/module/gui
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui')
-rw-r--r--module/gui/Overview.py2
1 files changed, 1 insertions, 1 deletions
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)))