Remove unknown reference to priority.

This commit is contained in:
Antoine Nguyen 2014-09-19 16:06:11 +02:00
parent ad47087c8f
commit 8095d30e8e

View File

@ -378,7 +378,7 @@ class Ticket(models.Model):
"""
if self.priority == 4:
return "warning"
elif priority == 5:
elif self.priority == 5:
return "danger"
else:
return ""