From d5ba41ac1eb76b5b545d53b92359e32bb1d51d48 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 3 Jun 2017 23:26:01 +0200 Subject: [PATCH] 255 is to long --- oml/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oml/item/models.py b/oml/item/models.py index e5dcfe4..c0c373f 100644 --- a/oml/item/models.py +++ b/oml/item/models.py @@ -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']