Formatting works for comments and description

This commit is contained in:
2018-03-07 09:43:21 -08:00
parent 0ae283604a
commit 4aa059d9e6
4 changed files with 61 additions and 22 deletions

View File

@@ -74,11 +74,9 @@ class CustomFields(object):
class Stories(object):
def __init__(self, stories):
components = [urwid.Text([
('author', s.creator()),
s.text(),
'\n'
]) for s in stories]
components = [
urwid.Text([('author', s.creator())] + s.text())
for s in stories]
self.stories = urwid.Pile(components)