g
This commit is contained in:
parent
6fbe3017d3
commit
fbe6c3dd26
20 changed files with 49 additions and 33 deletions
|
@ -342,8 +342,8 @@ class Submission(Base):
|
|||
if v.teddit: url = self.url.replace("old.reddit.com", "teddit.net")
|
||||
elif not v.oldreddit: url = self.url.replace("old.reddit.com", "reddit.com")
|
||||
if '/comments/' in url and "sort=" not in url:
|
||||
if "?" in url: url += "&context=99"
|
||||
else: url += "?context=99"
|
||||
if "?" in url: url += "&context=9"
|
||||
else: url += "?context=9"
|
||||
if v.controversial: url += "&sort=controversial"
|
||||
return url
|
||||
elif self.url:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue