add filekeys

This commit is contained in:
ed 2021-09-15 23:17:02 +02:00
parent abc0424c26
commit ef1c55286f
5 changed files with 56 additions and 5 deletions

View file

@ -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