From 7cf44a1aaba459c1f6749fb5e0ffd7517a0b1222 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 17 Jan 2023 10:52:50 +0000 Subject: [PATCH] Attachment could be called 'copyright' --- webapp_post.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp_post.py b/webapp_post.py index 8208250d1..a47b0f0e5 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -1801,6 +1801,7 @@ def _get_content_license(post_json_object: {}) -> str: continue name_lower = item['name'].lower() if 'license' not in name_lower and \ + 'copyright' not in name_lower and \ 'licence' not in name_lower: continue if item.get('value'):