Commit 0c61b0db authored by Mark Stenglein's avatar Mark Stenglein
Browse files

Fix Logic

parent 2ca5809f
......@@ -20,7 +20,7 @@ class Student(TimeStampedModel):
emails_sent = models.PositiveIntegerField(default=0)
def get_full_name(self):
if (self.user.get_full_name() == ""):
if not(self.user.get_full_name()):
return self.user.username
return self.user.get_full_name()
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