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 fe1e94c commit 3a28667Copy full SHA for 3a28667
vulnerabilities/importers/fireeye.py
@@ -32,8 +32,12 @@ def advisory_data(self) -> Iterable[AdvisoryData]:
32
for file in files:
33
if Path(file).stem == "README":
34
continue
35
- with open(file, encoding="ISO-8859-1") as f:
36
- yield parse_advisory_data(f.read())
+ try:
+ with open(file) as f:
37
+ yield parse_advisory_data(f.read())
38
+ except UnicodeError:
39
+ print(file)
40
+
41
42
43
def parse_advisory_data(raw_data) -> AdvisoryData:
0 commit comments