Merge pull request #185 from Gluejar/simpler_download

don't pop a param that isn't there
pull/1/head
Raymond Yee 2013-06-27 07:37:16 -07:00
commit 253735f03f
1 changed files with 0 additions and 1 deletions

View File

@ -2520,7 +2520,6 @@ def kindle_config(request, kindle_ebook_id=None):
if form.is_valid(): if form.is_valid():
request.user.profile.kindle_email = form.cleaned_data['kindle_email'] request.user.profile.kindle_email = form.cleaned_data['kindle_email']
request.user.profile.save() request.user.profile.save()
request.session.pop('kindle_email')
template = "kindle_change_successful.html" template = "kindle_change_successful.html"
else: else:
form = KindleEmailForm() form = KindleEmailForm()