Skip to content

Commit 5e76880

Browse files
committed
lint fix
1 parent 3a72ed9 commit 5e76880

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def search(request, search_type=None, search_query=None):
6666
)
6767
.filter(credit__icontains=search_query))
6868
elif "pack" in search_type:
69-
packs = list(Pack.objects.filter(name__icontains=search_query).annotate(song_count=Count('songs')).order_by("name"))
69+
packs = list(Pack.objects.filter(name__icontains=search_query)
70+
.annotate(song_count=Count('songs')).order_by("name"))
7071
packs.sort(key=lambda pack: natural_sort_key(pack.name))
7172
return render(request, "main.html", {"packs": packs, "search_query": search_query})
7273
else:

0 commit comments

Comments
 (0)