Module: deluge
Branch: master
Commit: e688b4544831f964ec8973bc098d0491d0e2ad52

Author: Chad Miller <>
Date:   Sat Feb  5 00:25:14 2011 +0000

Fix #1508 - TypeError in cell_data_queue() could not convert argument to 
correct param type

---

 deluge/ui/gtkui/torrentview.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/gtkui/torrentview.py b/deluge/ui/gtkui/torrentview.py
index 52590af..2fb1e04 100644
--- a/deluge/ui/gtkui/torrentview.py
+++ b/deluge/ui/gtkui/torrentview.py
@@ -131,7 +131,7 @@ def cell_data_queue(column, cell, model, row, data):
     if value < 0:
         cell.set_property("text", "")
     else:
-        cell.set_property("text", value + 1)
+        cell.set_property("text", str(value + 1))
 
 def queue_peer_seed_sort_function(v1, v2):
     if v1 == v2:

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to