From 26ab9a2f39fe453a51fb08319830f832c2f35bcd Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 Jan 2016 12:52:17 +0530 Subject: [PATCH] switch to local lookup --- oml/meta/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oml/meta/__init__.py b/oml/meta/__init__.py index 4aa73b6..aeb57c4 100644 --- a/oml/meta/__init__.py +++ b/oml/meta/__init__.py @@ -53,9 +53,11 @@ def lookup_provider(arg): def lookup(key, value): if not isvalid_id(key, value): return {} + ''' if not settings.server.get('local_lookup'): import oml.metaremote return oml.metaremote.lookup(key, value) + ''' if key == 'isbn': data = google.info(key, value) else: