fix spdx checker
This commit is contained in:
parent
6267879344
commit
6ac92d9379
1 changed files with 1 additions and 1 deletions
2
SPDX.py
2
SPDX.py
|
|
@ -98,7 +98,7 @@ for file in files:
|
|||
fail = True
|
||||
failed = True
|
||||
if not failed:
|
||||
license_name = line.split("SPDX-License-Identifier: ")[1][:-1]
|
||||
license_name = line.split("SPDX-License-Identifier: ")[1].strip()
|
||||
status["license"] = True
|
||||
if os.path.isfile(BUILD_DIR + f"/LICENSES/{license_name}.txt"):
|
||||
status["licensefile"] = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue