Skip to content

Commit

Permalink
Bugfix for unclear licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
danwos committed Jan 16, 2023
1 parent 74d973b commit 1c46022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/needs_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'


Expand Down

0 comments on commit 1c46022

Please sign in to comment.