diff options
-rw-r--r-- | servo/models/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/common.py b/servo/models/common.py index faad673..69feea2 100644 --- a/servo/models/common.py +++ b/servo/models/common.py @@ -147,7 +147,7 @@ class Event(models.Model): return Status.objects.get(title=self.description) def get_icon(self): - return "events/%s-%s" % (self.content_type, self.action) + return "events/%s-%s" % (self.content_type.name, self.action) def get_link(self): return self.content_object.get_absolute_url() |