SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e48282d3 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Debug

parent b0f9978a
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ class Profile(models.Model):
def roles(self):
try:
return self.contributor.roles
except KeyError, Contributor.DoesNotExist:
except (KeyError, Contributor.DoesNotExist):
return None
def __str__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment