mirror of
https://github.com/9001/copyparty.git
synced 2026-01-14 00:32:40 -07:00
format with black
This commit is contained in:
parent
885a5a14f4
commit
b3bcd6821c
|
|
@ -1560,7 +1560,9 @@ class HttpCli(object):
|
|||
self.send_headers(length=zi.file_size, mime=guess_mime(inner_path))
|
||||
|
||||
sendfile_py(
|
||||
self.log, 0, zi.file_size,
|
||||
self.log,
|
||||
0,
|
||||
zi.file_size,
|
||||
fi,
|
||||
self.s,
|
||||
self.args.s_wr_sz,
|
||||
|
|
@ -1574,7 +1576,6 @@ class HttpCli(object):
|
|||
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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue