mirror of
https://github.com/9001/copyparty.git
synced 2026-09-25 15:50:22 +01:00
windows: fix fsnt detection
This commit is contained in:
+1
-1
@@ -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]
|
||||
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():
|
||||
if not vol.realpath or vol.flags.get("is_file"):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user