This commit is contained in:
Aevann1 2022-01-28 02:25:40 +02:00
parent d488a75272
commit e1354642eb
2 changed files with 11 additions and 11 deletions

View file

@ -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,