remove unused code, only isbn lookup works

This commit is contained in:
j 2016-07-17 13:07:25 +02:00
commit f66e0fbb15
3 changed files with 10 additions and 67 deletions

View file

@ -508,7 +508,7 @@ class Item(db.Model):
# FIXME get from user_meta
if state.online:
if 'isbn' in self.meta:
data = meta.lookup('isbn', self.meta['isbn'])
data = meta.lookup_isbn(self.meta['isbn'])
if data:
for key in data:
self.meta[key] = data[key]