typo
This commit is contained in:
parent
142f3bcc6e
commit
c00c6755d8
1 changed files with 1 additions and 1 deletions
|
@ -687,7 +687,7 @@ class File(db.Model):
|
|||
author = 'Unknown Author'
|
||||
if ' (Ed.)' in author:
|
||||
author = author.replace(' (Ed.)', '') + ' (Ed.)'
|
||||
if author > 255:
|
||||
if len(author) > 255:
|
||||
author = 'Various Authors'
|
||||
title = j.get('title', 'Untitled')
|
||||
extension = j['extension']
|
||||
|
|
Loading…
Reference in a new issue