From ec5d60b9195c08da922a7da457e8809b5601d9d1 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 1 Jan 2021 21:54:56 +0100 Subject: [PATCH] fuse-client: fix directory parser --- bin/copyparty-fuse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/copyparty-fuse.py b/bin/copyparty-fuse.py index 9f117794..89bd5ee8 100755 --- a/bin/copyparty-fuse.py +++ b/bin/copyparty-fuse.py @@ -367,7 +367,7 @@ class Gateway(object): ret = [] remainder = b"" ptn = re.compile( - r'^(-|DIR)]* href="([^"]+)"[^>]*>([^<]+)([^<]+)([^<]+)$' + r'^(-|DIR|)]* href="([^"]+)"[^>]*>([^<]+)([^<]+)[^<]+([^<]+)$' ) while True: