From e087636ccaa6c1e17f0b6e6cd8c2e2ace226f7ad Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Tue, 24 May 2016 14:35:47 +0200
Subject: [PATCH] Debug submissions/utils.py again 2

---
 submissions/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/submissions/utils.py b/submissions/utils.py
index 875a2846c..36c315eb0 100644
--- a/submissions/utils.py
+++ b/submissions/utils.py
@@ -71,7 +71,7 @@ class SubmissionUtils(object):
                       cls.assignment.submission.title + ' by ' + cls.assignment.submission.author_list +
                       '\n\nhas successfully passed the pre-screening stage. '
                       '\n\nA Submission Page has been activated at '
-                      'https://scipost.org/submission/' + str(cls.submission.id) +
+                      'https://scipost.org/submission/' + str(cls.assignment.submission.id) +
                       'and a refereeing round has been started, with deadline '
                       'currently set at ' + datetime.datetime.strftime(cls.assignment.submission.reporting_deadline, "%Y-%m-%d") +
                       '. '
-- 
GitLab