fix Kindle_config 404

pull/1/head
eric 2013-09-09 15:48:27 -04:00
parent 4509cea6dd
commit 4038ea53e7
1 changed files with 4 additions and 1 deletions

View File

@ -2682,7 +2682,10 @@ def press_submitterator(request):
@login_required
def kindle_config(request, work_id=None):
work = safe_get_work(work_id)
if work_id:
work = safe_get_work(work_id)
else:
work = None
template = "kindle_config.html"
if request.method == 'POST':
form = KindleEmailForm(request.POST)