mirror of
https://github.com/9001/copyparty.git
synced 2025-11-24 07:23:22 -07:00
race-the-beam in shares
This commit is contained in:
parent
dbb78705f7
commit
d9cd7ec3cf
|
|
@ -6560,9 +6560,10 @@ class HttpCli(object):
|
||||||
return self.tx_zget(abspath)
|
return self.tx_zget(abspath)
|
||||||
|
|
||||||
if not add_og or not og_fn:
|
if not add_og or not og_fn:
|
||||||
return self.tx_file(
|
if st.st_size or "nopipe" in vn.flags:
|
||||||
abspath, None if st.st_size or "nopipe" in vn.flags else vn.realpath
|
return self.tx_file(abspath, None)
|
||||||
)
|
else:
|
||||||
|
return self.tx_file(abspath, vn.get_dbv("")[0].realpath)
|
||||||
|
|
||||||
elif is_dir and not self.can_read:
|
elif is_dir and not self.can_read:
|
||||||
if use_dirkey:
|
if use_dirkey:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue