file extensions dont contain whitespace

This commit is contained in:
ed 2021-06-21 23:50:35 +02:00
parent bed27f2b43
commit 356512270a

View file

@ -1305,7 +1305,7 @@ class HttpCli(object):
ext = "folder"
exact = True
bad = re.compile(r"[](){}/[]|^[0-9_-]*$")
bad = re.compile(r"[](){}/ []|^[0-9_-]*$")
n = ext.split(".")[::-1]
if not exact:
n = n[:-1]