Skip to content

Commit

Permalink
Update gcp/appengine/frontend_handlers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kedar <michaelkedar@google.com>
  • Loading branch information
another-rex and michaelkedar authored Oct 9, 2024
1 parent 2cd3ed9 commit 1432ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcp/appengine/frontend_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def display_severity_rating(severity: dict) -> str:
"""Return base score and rating of the severity."""
severity_base_score, severity_rating = calculate_severity_details(severity)
if severity_base_score is None:
return "Invalid Severity Rating"
return 'Invalid Severity Rating'

return f"{severity_base_score} ({severity_rating})"

Expand Down

0 comments on commit 1432ffa

Please sign in to comment.