various authors
This commit is contained in:
parent
36fc6e7e73
commit
5d92e0b397
1 changed files with 2 additions and 0 deletions
|
@ -687,6 +687,8 @@ 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 author > 255:
|
||||||
|
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