Skip to content

Commit 15d2f78

Browse files
committed
Remove LicenseRef- from license
1 parent d30669c commit 15d2f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_source/_parsing_scancode_file_item.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def parsing_scancode_32_earlier(scancode_file_list, path_to_scan, has_error=Fals
144144
if license_value != "":
145145
if key == KEYWORD_SCANCODE_UNKNOWN:
146146
try:
147-
matched_txt = lic_item.get("matched_text", "")
147+
matched_txt = lic_item.get("matched_text", "").lower()
148148
matched = regex.search(matched_txt)
149149
if matched:
150150
license_value = str(matched.group())

0 commit comments

Comments
 (0)