Fix space-checking strings in SubredditPage._draw_item_format

This commit is contained in:
John Helmert
2019-07-22 14:13:47 -05:00
parent 0255c217eb
commit a5c8ecc88b

View File

@@ -412,7 +412,7 @@ class SubredditPage(Page):
# TODO - support line wrapping # TODO - support line wrapping
string = string.split('\n')[0] string = string.split('\n')[0]
if string is ' ': if string == ' ':
# Make sure spaces aren't treated like normal strings and print # Make sure spaces aren't treated like normal strings and print
# them to the window this way. This ensures they won't be drawn # them to the window this way. This ensures they won't be drawn
# with an attribute. # with an attribute.