SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d51a3028 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix bug

parent 1cb8e98e
No related branches found
No related tags found
No related merge requests found
......@@ -14,4 +14,4 @@ class ProfileQuerySet(models.QuerySet):
pass
except self.model.MultipleObjectsReturned:
pass
return self.none()
return None
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