Commits

Jesper Nøhr committed 51726cf

Comments (0)

Files changed (1)

piston/authentication/oauth/utils.py

     ]
     params.extend(parameters)
 
-    missing = list(param for param in params if param not in oauth_request)
+    try:
+        missing = list(param for param in params if param not in oauth_request)
+    except:
+        missing = params
+        
     if missing:
         return HttpResponseBadRequest('Missing OAuth parameters: %s' % (', '.join(missing)))