Force str when calling session.load_country_db()

This commit is contained in:
Andrew Resch 2009-06-10 03:08:41 +00:00
parent 72d3b0a549
commit 581dcb8202

View File

@ -512,7 +512,7 @@ class PreferencesManager(component.Component):
if geoip_db: if geoip_db:
try: try:
self.session.load_country_db(geoip_db) self.session.load_country_db(str(geoip_db))
except Exception, e: except Exception, e:
log.error("Unable to load geoip database!") log.error("Unable to load geoip database!")
log.exception(e) log.exception(e)