summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--service/pixelated/support/ext_keymanager_fetch_key.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/service/pixelated/support/ext_keymanager_fetch_key.py b/service/pixelated/support/ext_keymanager_fetch_key.py
index a9478a43..08f70eb5 100644
--- a/service/pixelated/support/ext_keymanager_fetch_key.py
+++ b/service/pixelated/support/ext_keymanager_fetch_key.py
@@ -14,6 +14,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
import leap.keymanager
+import requests
+import logging
+from leap.keymanager.errors import KeyNotFound
+
+
+logger = logging.getLogger(__name__)
def patched_fetch_keys_from_server(self, address):