Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
Fix issues flake8 found
Browse files Browse the repository at this point in the history
  • Loading branch information
thorrak committed Apr 28, 2016
1 parent 811e140 commit 73585db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion django_alexa/internal/validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def verify_signature(request_body, signature, cert_url):
if crypto.verify(certificate, decoded_signature, request_body, 'sha1') is None:
return True
except:
raise InternalError("Error occured during signature validation", {"error": 400})
raise InternalError("Error occured during signature validation", {"error": 400})
return False


Expand Down
2 changes: 1 addition & 1 deletion django_alexa/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.conf import settings
from rest_framework.response import Response
from rest_framework.status import HTTP_200_OK
from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseForbidden, HttpResponseRedirect
from django.http import HttpResponseBadRequest, HttpResponseForbidden
from rest_framework.views import APIView
from .serializers import ASKInputSerializer
from .internal import ALEXA_APP_IDS, ResponseBuilder, IntentsSchema, validate_alexa_request, validate_reponse_limit
Expand Down

0 comments on commit 73585db

Please sign in to comment.