don't fail in debug
This commit is contained in:
parent
4539792cdc
commit
cd18efa40d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def lookup_isbn(value):
|
|||
try:
|
||||
data = google.info(value)
|
||||
except:
|
||||
logger.debug('google.info failed %s=%s', key, value, exc_info=True)
|
||||
logger.debug('google.info failed for %s', value, exc_info=True)
|
||||
data = {}
|
||||
for key in [k['id'] for k in settings.config['itemKeys'] if isinstance(k['type'], list)]:
|
||||
if key in data and not isinstance(data[key], list):
|
||||
|
|
Loading…
Reference in a new issue