From 1c460229d5c2606fc623d86f4706e0dcae5f234d Mon Sep 17 00:00:00 2001 From: Daniel Woste Date: Mon, 16 Jan 2023 09:38:39 +0100 Subject: [PATCH] Bugfix for unclear licenses --- scripts/needs_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/needs_json.py b/scripts/needs_json.py index b3156b5..7b20dce 100644 --- a/scripts/needs_json.py +++ b/scripts/needs_json.py @@ -55,7 +55,7 @@ def classifiers_check(value, classifiers): license = "Apache" # If no license was found or it contains a complete license text - if license == '' or len(license) > 25: + if license is None or license == '' or len(license) > 25: license = 'other'