Skip to content

Commit

Permalink
Small format amendments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelmold authored and timopollmeier committed Jan 29, 2024
1 parent 632239d commit 4fd4074
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pheme/transformation/scanreport/gvmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def per_result(result):
def per_note(note):
result_notes = new_host_result.get("notes", [])
excerpt = "0"
if "excerpt" in note["text"] :
if "excerpt" in note["text"]:
excerpt = note["text"]["excerpt"]
new_note = {
"text": note["text"]["text"],
Expand All @@ -269,7 +269,7 @@ def per_override(override):
severity_description = "Any positive severity"

excerpt = "0"
if "excerpt" in override["text"] :
if "excerpt" in override["text"]:
excerpt = override["text"]["excerpt"]
new_override = {
"text": override["text"]["text"],
Expand Down

0 comments on commit 4fd4074

Please sign in to comment.