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 b546efb commit 9dc0f1fCopy full SHA for 9dc0f1f
pytm/pytm.py
@@ -842,7 +842,7 @@ def _add_threats(self):
842
threats_json = json.load(threat_file)
843
except (FileNotFoundError, PermissionError, IsADirectoryError) as e:
844
raise UIError(
845
- e, f"while trying to open the the threat file ({self.threatsFile})."
+ e, f"while trying to open the the threat file ({tf})."
846
)
847
848
active_threats = (threat for threat in threats_json if "DEPRECATED" not in threat)
0 commit comments