Browse Source

Fix crash on user selection

This isn't remotely usable, but it at least doesn't crash now.

Change-Id: I252432192531699ab321958c506b761a6c8610a0
changes/58/437758/2
James E. Blair 4 years ago
parent
commit
e948bfef94
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      boartty/view/story.py

+ 2
- 1
boartty/view/story.py View File

@ -108,7 +108,8 @@ class AssigneeButton(mywid.SearchSelectButton):
with self.app.db.getSession() as session:
users = session.getUsers()
for user in users:
yield (user.key, user.name)
if user.name is not None:
yield (user.key, user.name)
class NewTaskDialog(urwid.WidgetWrap, mywid.LineBoxTitlePropertyMixin):
signals = ['save', 'cancel']


Loading…
Cancel
Save