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("/")