mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix #2365 : Hiding Progress column generates TypeError
This commit is contained in:
parent
7bd87d1a82
commit
a3806b6d7a
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ def cell_data_progress(column, cell, model, row, data):
|
||||||
|
|
||||||
textstr = _t(state_str)
|
textstr = _t(state_str)
|
||||||
if state_str != "Seeding" and value < 100:
|
if state_str != "Seeding" and value < 100:
|
||||||
textstr = textstr + " %.2f%%" % value
|
textstr = "%s %.2f%%" % (textstr, value)
|
||||||
if cell.get_property("text") != textstr:
|
if cell.get_property("text") != textstr:
|
||||||
cell.set_property("text", textstr)
|
cell.set_property("text", textstr)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue