Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
flake8, refs #680
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Jun 23, 2021
1 parent da961fe commit 064c1c8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vaccinate/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,6 @@ class LocationAdmin(DynamicListDisplayMixin, CompareVersionAdmin):
deliberately_omitted_from_fieldsets = ("point",)

def get_inlines(self, request, obj):
inlines = self.inlines
if obj is None and request.GET.get("_preview"):
# Add form - include first-report inline
return self.inlines + [FirstReportInline]
Expand Down

0 comments on commit 064c1c8

Please sign in to comment.