Skip to content

Commit

Permalink
Get correctly scan in view (#2986)
Browse files Browse the repository at this point in the history
  • Loading branch information
xliiv committed Mar 22, 2017
1 parent 969feab commit 07236ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ralph/security/views.py
Expand Up @@ -15,5 +15,5 @@ def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['security_scan'] = SecurityScan.objects.filter(
base_object=self.object
)
).first()
return context

0 comments on commit 07236ad

Please sign in to comment.