mirror of
https://github.com/9001/copyparty.git
synced 2025-09-30 13:42:27 -06:00
fix up2k fstab after 59a01221
This commit is contained in:
parent
6559152882
commit
538a205ce4
|
@ -3007,7 +3007,7 @@ class Up2k(object):
|
||||||
|
|
||||||
# check if filesystem supports sparse files;
|
# check if filesystem supports sparse files;
|
||||||
# refuse out-of-order / multithreaded uploading if sprs False
|
# refuse out-of-order / multithreaded uploading if sprs False
|
||||||
sprs = self.fstab.get(pdir) != "ng"
|
sprs = self.fstab.get(pdir)[0] != "ng"
|
||||||
|
|
||||||
if True:
|
if True:
|
||||||
jcur = self.cur.get(ptop)
|
jcur = self.cur.get(ptop)
|
||||||
|
@ -5180,7 +5180,7 @@ class Up2k(object):
|
||||||
sprs = False
|
sprs = False
|
||||||
|
|
||||||
if not ANYWIN and sprs and sz > 1024 * 1024:
|
if not ANYWIN and sprs and sz > 1024 * 1024:
|
||||||
fs = self.fstab.get(pdir)
|
fs, mnt = self.fstab.get(pdir)
|
||||||
if fs == "ok":
|
if fs == "ok":
|
||||||
pass
|
pass
|
||||||
elif "nosparse" in vf:
|
elif "nosparse" in vf:
|
||||||
|
|
Loading…
Reference in a new issue