Skip to content

Commit 4ff9b23

Browse files
author
Michael Schlenker
committed
Look into locations subdir
Signed-off-by: Michael Schlenker <[email protected]>
1 parent 373254c commit 4ff9b23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cyclonedx_py/_internal/utils/pep639.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def gather_license_texts(
9898
content = dist.read_text(path)
9999
except UnicodeDecodeError:
100100
# Malformed, try harder
101-
content = handle_bad_license_file_encoding(dist, mlfile, logger)
101+
content = handle_bad_license_file_encoding(dist, path, logger)
102102

103103
if content is not None:
104104
break

0 commit comments

Comments
 (0)