xcv
This commit is contained in:
parent
d488a75272
commit
e1354642eb
2 changed files with 11 additions and 11 deletions
|
@ -704,7 +704,7 @@ def submit_post(v):
|
|||
parsed_url = urlparse(url)
|
||||
|
||||
domain = parsed_url.netloc
|
||||
if domain in ('old.reddit.com','twitter.com'):
|
||||
if domain == 'old.reddit.com':
|
||||
new_url = ParseResult(scheme="https",
|
||||
netloc=parsed_url.netloc,
|
||||
path=parsed_url.path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue