Merge pull request #185 from Gluejar/simpler_download
don't pop a param that isn't therepull/1/head
commit
253735f03f
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue