remove unused code, only isbn lookup works
This commit is contained in:
parent
33e672c32b
commit
f66e0fbb15
3 changed files with 10 additions and 67 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue