Skip to content

Commit

Permalink
fix append stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
jhshi committed Sep 5, 2017
1 parent 616f464 commit 5a817c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leetcode/views/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ def make_unified_error_view(self, error_title):
blank, column_wrap,
blank, your_input_header, your_input,
]
self._append_stdout_if_non_empty(list_items)
else:
list_items = [
result_header,
blank, column_wrap,
]
self._append_stdout_if_non_empty(list_items)
return urwid.Padding(urwid.ListBox(urwid.SimpleListWalker(list_items)), left=2, right=2)


Expand Down

0 comments on commit 5a817c5

Please sign in to comment.