mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 03:54:50 +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:
|
||||
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…
Add table
Reference in a new issue