mirror of
https://github.com/9001/copyparty.git
synced 2025-10-05 19:42:29 +02:00
add filekeys
This commit is contained in:
parent
abc0424c26
commit
ef1c55286f
5 changed files with 56 additions and 5 deletions
|
@ -834,6 +834,11 @@ class AuthSrv(object):
|
|||
if use:
|
||||
vol.lim = lim
|
||||
|
||||
for vol in vfs.all_vols.values():
|
||||
fk = vol.flags.get("fk")
|
||||
if fk:
|
||||
vol.flags["fk"] = int(fk) if fk is not True else 8
|
||||
|
||||
for vol in vfs.all_vols.values():
|
||||
if "pk" in vol.flags and "gz" not in vol.flags and "xz" not in vol.flags:
|
||||
vol.flags["gz"] = False # def.pk
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue