summaryrefslogtreecommitdiff
path: root/tbc
diff options
context:
space:
mode:
Diffstat (limited to 'tbc')
-rwxr-xr-xtbc/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 9a451e4..2c27845 100755
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -886,7 +886,7 @@ def SubmitCode(request):
log_chat = subject + '\n' + 'Book ' + curr_book.title + \
' has been submitted on the Python TBC interface.'
add_log(user, curr_book, CHANGE, 'Chapters and Screenshots added',
- proposal.id, chat=log_chat)
+ curr_proposal.id, chat=log_chat)
email_send(book.reviewer.email, subject, message)
return HttpResponseRedirect('/?up=done')
else: