From aa164cdbcea86db9cd53c680c18a08b161ec6976 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 28 Sep 2016 10:30:26 +0100 Subject: [PATCH] [Core] Fix AttributeError for removed load_country_db method in lt 1.1.1 --- deluge/core/preferencesmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deluge/core/preferencesmanager.py b/deluge/core/preferencesmanager.py index cbc7c8b3a..c3942873f 100644 --- a/deluge/core/preferencesmanager.py +++ b/deluge/core/preferencesmanager.py @@ -449,6 +449,8 @@ class PreferencesManager(component.Component): except RuntimeError as ex: log.error("Unable to load geoip database!") log.exception(ex) + except AttributeError: + log.warning("GeoIP Unavailable") def _on_set_cache_size(self, key, value): log.debug("%s: %s", key, value)