From bf93f3c65e8ba8307a052b4c38f1351578548ada Mon Sep 17 00:00:00 2001 From: Max Goodman Date: Tue, 23 Jul 2013 17:06:51 -0700 Subject: [PATCH] Fix missed user_path refactoring. --- r2/r2/lib/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/utils/utils.py b/r2/r2/lib/utils/utils.py index c8c02f886..2fdf003e6 100644 --- a/r2/r2/lib/utils/utils.py +++ b/r2/r2/lib/utils/utils.py @@ -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