Fix badge
This commit is contained in:
parent
ebe0faf771
commit
c5ec7e5482
1 changed files with 2 additions and 1 deletions
|
@ -216,4 +216,5 @@ class AttendeeProfile(rego.AttendeeProfileBase):
|
|||
return wrap(self.name, 15, break_long_words=False)[0]
|
||||
|
||||
def last_name(self):
|
||||
return wrap(self.name, 15, break_long_words=False)[1]
|
||||
names = wrap(self.name, 15, break_long_words=False)
|
||||
return names[1] if len(names) > 1 else ''
|
Loading…
Reference in a new issue