From 3b354447b02060e452eb33529fe90074ce9d6e9f Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 27 Mar 2021 02:08:07 +0100 Subject: [PATCH] v0.10.0 --- README.md | 2 +- copyparty/__version__.py | 6 +++--- copyparty/httpcli.py | 4 +++- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b1293d0a..6e8e6e70 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ you may also want these, especially on servers: * ☑ symlink/discard existing files (content-matching) * download * ☑ single files in browser - * ☑ folders as zip files *(not in release yet)* + * ☑ folders as zip / tar files * ☑ FUSE client (read-only) * browser * ☑ tree-view diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 65ef1b33..fde589f0 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 9, 13) -CODENAME = "the strongest music server" -BUILD_DT = (2021, 3, 23) +VERSION = (0, 10, 0) +CODENAME = "zip it" +BUILD_DT = (2021, 3, 27) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 72cefd04..a8db0502 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -161,7 +161,9 @@ class HttpCli(object): try: # self.log("pebkac at httpcli.run #2: " + repr(ex)) self.keepalive = self._check_nonfatal(ex) - self.loud_reply("{}: {}".format(str(ex), self.vpath), status=ex.code) + self.log("{}\033[0m: {}".format(str(ex), self.vpath), 3) + msg = "
{}: {}\r\n".format(str(ex), self.vpath)
+                self.reply(msg.encode("utf-8", "replace"), status=ex.code)
                 return self.keepalive
             except Pebkac:
                 return False