mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
( ´ w `)
This commit is contained in:
parent
012bbcf770
commit
f273253a2b
|
@ -39,6 +39,8 @@ class Cfg(Namespace):
|
|||
no_scandir=False,
|
||||
no_sendfile=True,
|
||||
no_rescan=True,
|
||||
no_logues=False,
|
||||
no_readme=False,
|
||||
re_maxage=0,
|
||||
ihead=False,
|
||||
nih=True,
|
||||
|
@ -151,6 +153,7 @@ class TestHttpCli(unittest.TestCase):
|
|||
tar = tarfile.open(fileobj=io.BytesIO(b)).getnames()
|
||||
except:
|
||||
tar = []
|
||||
tar = [x[4:] if x.startswith("top/") else x for x in tar]
|
||||
tar = ["/".join([y for y in [top, durl, x] if y]) for x in tar]
|
||||
tar = [[x] + self.can_rw(x) for x in tar]
|
||||
tar_ok = [x[0] for x in tar if x[1]]
|
||||
|
|
|
@ -26,6 +26,8 @@ class Cfg(Namespace):
|
|||
"no_hash": False,
|
||||
"css_browser": None,
|
||||
"no_voldump": True,
|
||||
"no_logues": False,
|
||||
"no_readme": False,
|
||||
"re_maxage": 0,
|
||||
"rproxy": 0,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue