From b32d1f8ad39bb126eb444835de100a8660ec03a6 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 9 Jul 2021 13:46:42 +0200 Subject: [PATCH] make ?stack work anywhere --- copyparty/httpcli.py | 2 +- copyparty/web/splash.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 58710ba4..77b508a1 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -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: diff --git a/copyparty/web/splash.html b/copyparty/web/splash.html index f9b71f1b..d33c4897 100644 --- a/copyparty/web/splash.html +++ b/copyparty/web/splash.html @@ -35,7 +35,7 @@
- dump stack + dump stack
{%- endif %}