added max column width for comments

This commit is contained in:
Alexandre Kaskasoli
2016-09-28 21:10:33 +01:00
parent b02d867c47
commit 29c1d06662
2 changed files with 6 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ class SubredditPage(Page):
# Check that the subreddit can be submitted to
name = self.content.name
if '+' in name or name in ('/r/all', '/r/front', '/r/me','/u/saved'):
if '+' in name or name in ('/r/all', '/r/front', '/r/me', '/u/saved'):
self.term.show_notification("Can't post to {0}".format(name))
return
@@ -272,4 +272,4 @@ class SubredditPage(Page):
self.term.add_line(win, text, attr=Color.YELLOW)
if data['flair']:
text = ' {flair}'.format(**data)
self.term.add_line(win, text, attr=Color.RED)
self.term.add_line(win, text, attr=Color.RED)