Cleaned up SubredditContent.from_name
This commit is contained in:
@@ -323,7 +323,8 @@ class Page(object):
|
||||
text = spacing.join(items)
|
||||
self.term.add_line(window, text, 0, 0)
|
||||
if self.content.order is not None:
|
||||
col = text.find(self.content.order) - 3
|
||||
order = self.content.order.split('-')[0]
|
||||
col = text.find(order) - 3
|
||||
window.chgat(0, col, 3, attr | curses.A_REVERSE)
|
||||
|
||||
self._row += 1
|
||||
|
||||
Reference in New Issue
Block a user