255 is to long

This commit is contained in:
j 2017-06-03 23:26:01 +02:00
parent e966256fa2
commit d5ba41ac1e
1 changed files with 1 additions and 1 deletions

View File

@ -749,7 +749,7 @@ class File(db.Model):
author = 'Unknown Author'
if ' (Ed.)' in author:
author = author.replace(' (Ed.)', '') + ' (Ed.)'
if len(author) > 255:
if len(author) > 200:
author = 'Various Authors'
title = j.get('title', 'Untitled')
extension = j['extension']