mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
Force str when calling session.load_country_db()
This commit is contained in:
parent
72d3b0a549
commit
581dcb8202
@ -512,7 +512,7 @@ class PreferencesManager(component.Component):
|
||||
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user