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.
2 parents 09bcb07 + 6142c75 commit 1fcc88fCopy full SHA for 1fcc88f
1 file changed
sbom4python/scanner.py
@@ -740,7 +740,7 @@ def process_uvlock_file(self, filename):
740
filePath = pathlib.Path(filename)
741
# Check path exists and is a valid file
742
if filePath.exists() and filePath.is_file():
743
- with open(filename) as file:
+ with open(filename, "rb") as file:
744
uvlock_data = toml.load(file)
745
if self.debug:
746
print(uvlock_data)
0 commit comments