From: Roland Häder Date: Sun, 4 Jun 2023 09:07:05 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d28d62d9c7b049a216127ee5897724cfeb3c85ad;p=fba.git Continued: - it is without slashes --- diff --git a/fba/fba.py b/fba/fba.py index 5084f76..982cc62 100644 --- a/fba/fba.py +++ b/fba/fba.py @@ -1420,7 +1420,7 @@ def tidyup_domain(domain: str) -> str: # No port number domain = re.sub("\:\d+$", "", domain) - # No protocol, sometimes with the slashes + # No protocol, sometimes without the slashes domain = re.sub("^https?\:(\/*)", "", domain) # No trailing slash