mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +00:00
Force str when calling session.load_country_db()
This commit is contained in:
parent
72d3b0a549
commit
581dcb8202
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue