support mounting entire disks on windows

This commit is contained in:
ed 2021-10-20 00:51:00 +02:00
parent b69aace8d8
commit e4ca4260bb

View file

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