for update
This commit is contained in:
parent
52f45beaec
commit
6c7d6bb6b0
3 changed files with 9 additions and 4 deletions
|
|
@ -209,7 +209,7 @@ def info(pdf):
|
|||
if settings.server['extract_text']:
|
||||
text = extract_text(pdf)
|
||||
data['textsize'] = len(text)
|
||||
if not 'isbn' in data:
|
||||
if 'isbn' not in data:
|
||||
isbn = extract_isbn(text)
|
||||
if isbn:
|
||||
data['isbn'] = isbn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue