Skip to content

Commit

Permalink
Update grayskull/license/discovery.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Duarte Trevisani <marcelotrevisani@users.noreply.github.com>
  • Loading branch information
ForgottenProgramme and marcelotrevisani authored Feb 23, 2022
1 parent 1f6d12b commit d80e823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grayskull/license/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def get_license_type(path_license: str, default: Optional[str] = None) -> Option
best_match = process.extract(
license_content, licenses_text, scorer=token_sort_ratio
)
print(
print_msg(
f"{Fore.YELLOW}Match percentage of the license is {int(best_match[0][1])}%. "
+ "Low match percentage could mean that the license was modified."
)
Expand Down

0 comments on commit d80e823

Please sign in to comment.