We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 373254c commit 4ff9b23Copy full SHA for 4ff9b23
cyclonedx_py/_internal/utils/pep639.py
@@ -98,7 +98,7 @@ def gather_license_texts(
98
content = dist.read_text(path)
99
except UnicodeDecodeError:
100
# Malformed, try harder
101
- content = handle_bad_license_file_encoding(dist, mlfile, logger)
+ content = handle_bad_license_file_encoding(dist, path, logger)
102
103
if content is not None:
104
break
0 commit comments