diff --git a/src/fosslight_source/_parsing_scanoss_file.py b/src/fosslight_source/_parsing_scanoss_file.py index 3cee5b6e..1ffad9c9 100644 --- a/src/fosslight_source/_parsing_scanoss_file.py +++ b/src/fosslight_source/_parsing_scanoss_file.py @@ -55,6 +55,8 @@ def parsing_scanResult(scanoss_report): for license in findings[0]['licenses']: license_lower = license['name'].lower() + if license_lower.endswith('.'): + license_lower = license_lower[:-1] for word in replace_word: if word in license_lower: license_lower = license_lower.replace(word, "")