From 9b28b750ef08140dd9d28a246f204742bda73b97 Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Mon, 20 Apr 2015 11:58:55 +0530 Subject: correct variable name --- tbc/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit