mirror of
https://github.com/9001/copyparty.git
synced 2026-02-23 02:46:13 +10:00
race-the-beam in shares
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user