mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -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:
|
||||
# self.log("file: {}".format(abspath))
|
||||
seen_files[iname] = 1
|
||||
rp = abspath[len(top) + 1 :]
|
||||
rp = abspath[len(top) :].lstrip("/")
|
||||
if WINDOWS:
|
||||
rp = rp.replace("\\", "/").strip("/")
|
||||
|
||||
|
|
Loading…
Reference in a new issue