make ?stack work anywhere

This commit is contained in:
ed
2021-07-09 13:46:42 +02:00
parent 03513e0cb1
commit b32d1f8ad3
2 changed files with 2 additions and 2 deletions

View File

@@ -1474,7 +1474,7 @@ class HttpCli(object):
raise Pebkac(500, x)
def tx_stack(self):
if not self.readable or not self.writable:
if not self.avol:
raise Pebkac(403, "not admin")
if self.args.no_stack: