mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
support mounting entire disks on windows
This commit is contained in:
parent
b69aace8d8
commit
e4ca4260bb
|
@ -530,7 +530,7 @@ class Up2k(object):
|
||||||
else:
|
else:
|
||||||
# self.log("file: {}".format(abspath))
|
# self.log("file: {}".format(abspath))
|
||||||
seen_files[iname] = 1
|
seen_files[iname] = 1
|
||||||
rp = abspath[len(top) + 1 :]
|
rp = abspath[len(top) :].lstrip("/")
|
||||||
if WINDOWS:
|
if WINDOWS:
|
||||||
rp = rp.replace("\\", "/").strip("/")
|
rp = rp.replace("\\", "/").strip("/")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue