From 356512270ad3aed0c3f2edcec9770820fcb629fc Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 21 Jun 2021 23:50:35 +0200 Subject: [PATCH] file extensions dont contain whitespace --- copyparty/httpcli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 4bf83481..bd5adf84 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -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]