diff --git a/files/classes/submission.py b/files/classes/submission.py index 7be2f2158..637453a65 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -237,9 +237,9 @@ class Submission(Base): if self.url.startswith('/'): return SITE print('3') domain = urlparse(self.url).netloc - print('4') + print(domain) if domain.startswith("www."): domain = domain.split("www.")[1] - print('5') + print(domain) return domain.replace("old.reddit.com", "reddit.com") @property