From 538a205ce4a07c7f1d0edcc47fa413862ccd36c2 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 19 Sep 2025 21:50:21 +0000 Subject: [PATCH] fix up2k fstab after 59a01221 --- copyparty/up2k.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/up2k.py b/copyparty/up2k.py index 4b999ba2..203162f5 100644 --- a/copyparty/up2k.py +++ b/copyparty/up2k.py @@ -3007,7 +3007,7 @@ class Up2k(object): # check if filesystem supports sparse files; # refuse out-of-order / multithreaded uploading if sprs False - sprs = self.fstab.get(pdir) != "ng" + sprs = self.fstab.get(pdir)[0] != "ng" if True: jcur = self.cur.get(ptop) @@ -5180,7 +5180,7 @@ class Up2k(object): sprs = False if not ANYWIN and sprs and sz > 1024 * 1024: - fs = self.fstab.get(pdir) + fs, mnt = self.fstab.get(pdir) if fs == "ok": pass elif "nosparse" in vf: