diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 36e5a327..7ded17ee 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -2218,7 +2218,8 @@ class HttpCli(object): ret = json.dumps(ls) mime = "application/json" - self.reply(ret.encode("utf-8", "replace") + b"\n", mime=mime) + ret += "\n\033[0m" if arg == "v" else "\n" + self.reply(ret.encode("utf-8", "replace"), mime=mime) return True def tx_browser(self) -> bool: