Commit 5b98301d authored by cermak's avatar cermak
Browse files

[FIX] not sending emails to director

parent 3d52a6b0
......@@ -240,7 +240,7 @@ class Proposals(models.Model):
pmembers.remove(self.reporter.uid)
notify_send(pmembers,
'p_request_comments', extra_context = { 'proposal': self})
elif s == "RD" or s == "TD":
elif s[1] == "D":
notify_send(User.objects.filter(groups__name='director'),
'D_accepted', extra_context = { 'proposal': self})
elif s == "RX":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment