This commit is contained in:
Michael Lazar
2016-07-26 01:20:27 -07:00
parent 620434eed0
commit 349ea94afd
3 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,7 @@ class SubredditPage(Page):
If this was pressed on the front page, go back to the last subreddit.
"""
if not self.content.name == '/r/front':
if self.content.name != '/r/front':
target = '/r/front'
self._toggled_subreddit = self.content.name
else: