mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 20:14:13 +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:
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user