Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-sommer committed Oct 15, 2024
1 parent 33592fc commit e23a417
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dojo/templatetags/display_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,8 +782,7 @@ def vulnerability_url(vulnerability_id):
if vulnerability_id.upper().startswith(key):
if "&&" in settings.VULNERABILITY_URLS[key]:
return settings.VULNERABILITY_URLS[key].split("&&")[0] + str(vulnerability_id) + settings.VULNERABILITY_URLS[key].split("&&")[1]
else:
return settings.VULNERABILITY_URLS[key] + str(vulnerability_id)
return settings.VULNERABILITY_URLS[key] + str(vulnerability_id)
return ""


Expand Down

0 comments on commit e23a417

Please sign in to comment.