From c85a13b05cee47a6cf74cc96c04b88138a8d6d81 Mon Sep 17 00:00:00 2001 From: eric Date: Mon, 5 May 2014 10:15:29 -0400 Subject: [PATCH] acq shouldn't be in context for THANKS --- frontend/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/views.py b/frontend/views.py index c3465adf..5b4519dc 100755 --- a/frontend/views.py +++ b/frontend/views.py @@ -2699,6 +2699,10 @@ class DownloadView(PurchaseView): all_acqs=request.user.acqs.filter(work=work).order_by('-created') for an_acq in all_acqs: if not an_acq.expired: + # skip for THANKS + if an_acq.license == THANKED: + acq = None + break # prepare this acq for download if not an_acq.watermarked or an_acq.watermarked.expired: if not an_acq.on_reserve: