switch to local lookup
This commit is contained in:
parent
f2ad94453d
commit
26ab9a2f39
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue