[Core] Fix AttributeError for removed load_country_db method in lt 1.1.1
This commit is contained in:
parent
9c27ed29ae
commit
aa164cdbce
|
@ -449,6 +449,8 @@ class PreferencesManager(component.Component):
|
||||||
except RuntimeError as ex:
|
except RuntimeError as ex:
|
||||||
log.error("Unable to load geoip database!")
|
log.error("Unable to load geoip database!")
|
||||||
log.exception(ex)
|
log.exception(ex)
|
||||||
|
except AttributeError:
|
||||||
|
log.warning("GeoIP Unavailable")
|
||||||
|
|
||||||
def _on_set_cache_size(self, key, value):
|
def _on_set_cache_size(self, key, value):
|
||||||
log.debug("%s: %s", key, value)
|
log.debug("%s: %s", key, value)
|
||||||
|
|
Loading…
Reference in New Issue