[GTKUI] Don't display percentage for Error'd torrents

This commit is contained in:
Calum Lind 2015-10-28 12:51:25 +00:00
parent e232cd812a
commit 3a03bb8dd7
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def cell_data_progress(column, cell, model, row, data):
# Marked for translate states text are in filtertreeview
textstr = _(state_str)
if state_str != "Seeding" and value < 100:
if state_str not in ("Error", "Seeding") and value < 100:
textstr = "%s %.2f%%" % (textstr, value)
if func_last_value["cell_data_progress"][1] != textstr: