From c436871ba6961d6a961f183fbde22b3d1004b68d Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Wed, 15 Nov 2023 12:05:18 +1100 Subject: [PATCH] Fix bug in thrimshim for archive cuts --- thrimshim/thrimshim/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimshim/thrimshim/main.py b/thrimshim/thrimshim/main.py index aadb407..2475fc8 100644 --- a/thrimshim/thrimshim/main.py +++ b/thrimshim/thrimshim/main.py @@ -422,7 +422,7 @@ def update_row(ident, editor=None): missing.append(column) if missing: return 'Fields {} must be non-null for video to be cut'.format(', '.join(missing)), 400 - if len(new_row.get('video_title', '')) <= len(app.title_header): + if len(new_row.get('video_title', '')) <= len(app.title_header) and not is_archive: return 'Video title must not be blank', 400 elif new_row['state'] != 'UNEDITED': return 'Invalid state {}'.format(new_row['state']), 400