Author: andar

Revision: 5365

Log:
        Force str when calling session.load_country_db()

Diff:
Modified: trunk/deluge/core/preferencesmanager.py
===================================================================
--- trunk/deluge/core/preferencesmanager.py     2009-06-09 21:44:24 UTC (rev 
5364)
+++ trunk/deluge/core/preferencesmanager.py     2009-06-10 03:08:41 UTC (rev 
5365)
@@ -512,7 +512,7 @@
 
         if geoip_db:
             try:
-                self.session.load_country_db(geoip_db)
+                self.session.load_country_db(str(geoip_db))
             except Exception, e:
                 log.error("Unable to load geoip database!")
                 log.exception(e)



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