This commit is contained in:
Bastian Venthur
2021-02-13 13:31:51 +01:00
parent d4f57d49ab
commit e972d90704

View File

@@ -85,9 +85,9 @@ class MarkdownLinkTreeprocessor(Treeprocessor):
def convert(self, url): def convert(self, url):
scheme, netloc, path, query, fragment = urlsplit(url) scheme, netloc, path, query, fragment = urlsplit(url)
logger.debug( # logger.debug(
f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}' # f'{url}: {scheme=} {netloc=} {path=} {query=} {fragment=}'
) # )
if (scheme or netloc or not path): if (scheme or netloc or not path):
return url return url
if path.endswith('.md'): if path.endswith('.md'):