Fix badge

This commit is contained in:
Tobias 2019-01-17 17:48:25 +13:00
parent ebe0faf771
commit c5ec7e5482

View file

@ -216,4 +216,5 @@ class AttendeeProfile(rego.AttendeeProfileBase):
return wrap(self.name, 15, break_long_words=False)[0] return wrap(self.name, 15, break_long_words=False)[0]
def last_name(self): 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 ''