mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
remove placeholder "---" file type of directories
This commit is contained in:
parent
ba458e7a58
commit
cc21cc8966
|
|
@ -6642,7 +6642,7 @@ class HttpCli(object):
|
|||
{
|
||||
"lead": "",
|
||||
"href": "%s/" % (x,),
|
||||
"ext": "---",
|
||||
"ext": "",
|
||||
"sz": 0,
|
||||
"ts": 0,
|
||||
"tags": e_d,
|
||||
|
|
@ -7263,7 +7263,7 @@ class HttpCli(object):
|
|||
)
|
||||
|
||||
if is_dir:
|
||||
ext = "---"
|
||||
ext = ""
|
||||
elif "." in fn:
|
||||
ext = ptn_hr.sub("@", fn.rsplit(".", 1)[1])
|
||||
if len(ext) > 16:
|
||||
|
|
|
|||
Loading…
Reference in a new issue