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'
|
||||
if ' (Ed.)' in author:
|
||||
author = author.replace(' (Ed.)', '') + ' (Ed.)'
|
||||
if author > 255:
|
||||
author = 'Various Authors'
|
||||
title = j.get('title', 'Untitled')
|
||||
extension = j['extension']
|
||||
|
||||
|
|
Loading…
Reference in a new issue