From 3f7fcb35ad366e3fda9172e4ce8d8de2bec00e2f Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Tue, 3 Jul 2012 23:23:44 -0400 Subject: [PATCH] Fix 500 --- views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/views.py b/views.py index 9ba92d1..2700e7a 100644 --- a/views.py +++ b/views.py @@ -10,6 +10,7 @@ import bottlenose def amazon_search(request): + result = '' if request.GET.get('q'): amazon = bottlenose.Amazon('AKIAJJRRQPTSPKB7GYOA', 'DIYz2g5vPjcWE4/YI7wEuUVAskwJxs2llFvGyI1a', 'snipt-20')