diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 883c359c..106391a8 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -37,7 +37,6 @@ class HttpCli(object): self.ip = conn.addr[0] self.addr = conn.addr # type: tuple[str, int] self.args = conn.args - self.is_mp = conn.is_mp self.asrv = conn.asrv # type: AuthSrv self.ico = conn.ico self.thumbcli = conn.thumbcli @@ -343,6 +342,9 @@ class HttpCli(object): if "tree" in self.uparam: return self.tx_tree() + if "stack" in self.uparam: + return self.tx_stack() + # conditional redirect to single volumes if self.vpath == "" and not self.ouparam: nread = len(self.rvol) @@ -372,9 +374,6 @@ class HttpCli(object): if "scan" in self.uparam: return self.scanvol() - if "stack" in self.uparam: - return self.tx_stack() - return self.tx_browser() def handle_options(self):