mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 00:38:11 -05:00
Fix missed user_path refactoring.
This commit is contained in:
@@ -575,7 +575,7 @@ class UrlParser(object):
|
||||
prefix is not already present.
|
||||
"""
|
||||
if not (self.path_has_subreddit()
|
||||
or self.path.startswith(subreddit.path)):
|
||||
or self.path.startswith(subreddit.user_path)):
|
||||
self.path = (subreddit.user_path + self.path)
|
||||
return self
|
||||
|
||||
|
||||
Reference in New Issue
Block a user