Date of birth not editable if not set
Closed this issue · 0 comments
Bibo-Joshi commented
Currently the button press gives this exception:
File "…/AkaNamen-Bot/bot/editing.py", line 268, in parse_selection
text = TEXTS[DATE_OF_BIRTH].format(member.date_of_birth.strftime('%d.%m.%Y') or "-")
AttributeError: 'NoneType' object has no attribute 'strftime'