From c4c0a037ce82668060ae569485e75c8326dc02f3 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 9 May 2018 18:47:36 +0100 Subject: [PATCH] typo --- pandora/item/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 05ac296f..e00e75ed 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -937,7 +937,7 @@ def download_source(request, id, part=None): else: part = 0 streams = item.streams() - if parts > len(streams): + if part > len(streams): raise Http404 f = streams[part].file if not f.data: