From a1adf60b3033c45870127dc1df68b85fffa52897 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 13 Jul 2022 10:31:55 -0600 Subject: [PATCH] PEP-8 fix --- app/utils/results.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/utils/results.py b/app/utils/results.py index d4ac6ee..edfbbd9 100644 --- a/app/utils/results.py +++ b/app/utils/results.py @@ -147,10 +147,10 @@ def get_site_alt(link: str) -> str: parsed_alt = urlparse.urlparse(SITE_ALTS[site_key]) link = link.replace(hostname, SITE_ALTS[site_key]) + params - # If a scheme is specified in the alternative, this results in a replaced - # link that looks like "https://http://altservice.tld". In this case, we - # can remove the original scheme from the result and use the one specified - # for the alt. + # If a scheme is specified in the alternative, this results in a + # replaced link that looks like "https://http://altservice.tld". + # In this case, we can remove the original scheme from the result + # and use the one specified for the alt. if parsed_alt.scheme: link = '//'.join(link.split('//')[1:])