Author: andar

Revision: 5364

Log:
        Fix exception when tracker column is not enabled

Diff:
Modified: trunk/deluge/ui/tracker_icons.py
===================================================================
--- trunk/deluge/ui/tracker_icons.py    2009-06-09 00:35:43 UTC (rev 5363)
+++ trunk/deluge/ui/tracker_icons.py    2009-06-09 21:44:24 UTC (rev 5364)
@@ -175,6 +175,9 @@
         """
         returns None if the icon is not fetched(yet) or not fond.
         """
+        if not tracker_host:
+            return None
+
         if tracker_host in self.images:
             return self.images[tracker_host]
         else:



--~--~---------~--~----~------------~-------~--~----~
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