mirror of
https://github.com/9001/copyparty.git
synced 2026-03-24 00:53:23 +10:00
support mounting entire disks on windows
This commit is contained in:
@@ -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("/")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user