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 be2d1b3 + a014066 commit a5c38d3Copy full SHA for a5c38d3
grummage.py
@@ -436,7 +436,7 @@ async def load_sbom(self):
436
def load_json(self, file_path):
437
"""Load SBOM JSON from a file."""
438
try:
439
- with open(file_path, "r") as file:
+ with open(file_path, "r", encoding="utf-8") as file:
440
return json.load(file)
441
except Exception as e:
442
self.debug_log(f"Error loading SBOM JSON: {e}")
0 commit comments