page.py: exit prompt added

logout prompt now works as intended
This commit is contained in:
Gustavo Zambonin
2015-10-14 00:39:47 -03:00
parent 11a322a9c3
commit 2358eed46e
2 changed files with 17 additions and 17 deletions

View File

@@ -106,7 +106,7 @@ class OAuthTool(object):
except (praw.errors.OAuthAppRequired, praw.errors.OAuthInvalidToken):
show_notification(self.stdscr, ['Invalid OAuth data'])
else:
message = ['Welcome {}!'.format(self.reddit.user.name)]
message = ['Welcome, {}!'.format(self.reddit.user.name)]
show_notification(self.stdscr, message)
def clear_oauth_data(self):