mirror of
https://github.com/9001/copyparty.git
synced 2025-10-05 10:49:30 +02:00
black
This commit is contained in:
parent
b377791be7
commit
66abf17bae
3 changed files with 16 additions and 4 deletions
|
@ -2006,7 +2006,13 @@ class AuthSrv(object):
|
|||
for idp_vp in self.idp_vols:
|
||||
parent_vp = vsplit(idp_vp)[0]
|
||||
vn, _ = vfs.get(parent_vp, "*", False, False)
|
||||
zs = "READABLE" if "*" in vn.axs.uread else "WRITABLE" if "*" in vn.axs.uwrite else ""
|
||||
zs = (
|
||||
"READABLE"
|
||||
if "*" in vn.axs.uread
|
||||
else "WRITABLE"
|
||||
if "*" in vn.axs.uwrite
|
||||
else ""
|
||||
)
|
||||
if zs:
|
||||
t = '\nWARNING: Volume "/%s" appears below "/%s" and would be WORLD-%s'
|
||||
idp_err += t % (idp_vp, vn.vpath, zs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue