mirror of
https://github.com/9001/copyparty.git
synced 2025-09-28 12:42:26 -06:00
accept empty files through bup; closes #775
This commit is contained in:
parent
75b0b312a4
commit
25749b4b5f
|
@ -3419,8 +3419,6 @@ class HttpCli(object):
|
|||
sz, sha_hex, sha_b64 = copier(
|
||||
p_data, f, hasher, max_sz, self.args.s_wr_slp
|
||||
)
|
||||
if sz == 0:
|
||||
raise Pebkac(400, "empty files in post")
|
||||
finally:
|
||||
f.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue