From b3bcd6821c6585f04c7485eee222fd2671b00bcd Mon Sep 17 00:00:00 2001 From: AppleTheGolden Date: Sat, 11 Oct 2025 19:25:01 +0200 Subject: [PATCH] format with black --- copyparty/httpcli.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 99f671ae..038ac9a5 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -1560,21 +1560,22 @@ class HttpCli(object): self.send_headers(length=zi.file_size, mime=guess_mime(inner_path)) sendfile_py( - self.log, 0, zi.file_size, - fi, - self.s, - self.args.s_wr_sz, - self.args.s_wr_slp, - not self.args.no_poll, - {}, - "", - ) + self.log, + 0, + zi.file_size, + fi, + self.s, + self.args.s_wr_sz, + self.args.s_wr_slp, + not self.args.no_poll, + {}, + "", + ) except KeyError: raise Pebkac(404, "no such file in archive") except (zipfile.BadZipfile, RuntimeError): raise Pebkac(404, "requested file is not a valid zip file") - def handle_propfind(self) -> bool: if self.do_log: self.log("PFIND %s @%s" % (self.req, self.uname))