mirror of
https://github.com/9001/copyparty.git
synced 2026-08-13 22:03:06 -06:00
windows: fix fsnt detection
This commit is contained in:
parent
cea97ac6fd
commit
6226858b89
|
|
@ -248,7 +248,7 @@ def ramdisk_chk(asrv: AuthSrv) -> None:
|
||||||
t2 = ["\n volume=[/%s], abspath=%r, type=%s, root=%r" % x for x in mods]
|
t2 = ["\n volume=[/%s], abspath=%r, type=%s, root=%r" % x for x in mods]
|
||||||
log("vfs", t + "".join(t2) + "\n", 1)
|
log("vfs", t + "".join(t2) + "\n", 1)
|
||||||
|
|
||||||
assume = "mac" if MACOS else "lin"
|
assume = "mac" if MACOS else "win" if ANYWIN else "lin"
|
||||||
for vol in asrv.vfs.all_nodes.values():
|
for vol in asrv.vfs.all_nodes.values():
|
||||||
if not vol.realpath or vol.flags.get("is_file"):
|
if not vol.realpath or vol.flags.get("is_file"):
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue