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