From 7a460de3c2b50899537b14809ce491b16d43b6b2 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 15 Aug 2022 18:01:28 +0200 Subject: [PATCH] windows db fix --- copyparty/up2k.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 34315beb..a28861da 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -775,7 +775,7 @@ class Up2k(object): assert self.pp and self.mem_cur self.pp.msg = "a{} {}".format(self.pp.n, cdir) - rd = cdir[len(top) + 1 :].strip("/") + rd = cdir[len(top) :].strip("/") if WINDOWS: rd = rd.replace("\\", "/").strip("/")