[Core] Fix AttributeError for removed load_country_db method in lt 1.1.1

This commit is contained in:
Calum Lind 2016-09-28 10:30:26 +01:00
parent 9c27ed29ae
commit aa164cdbce
1 changed files with 2 additions and 0 deletions

View File

@ -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)