mirror of
https://github.com/9001/copyparty.git
synced 2025-10-10 10:32:19 -06:00
--ui-filesz can have trailing dash
This commit is contained in:
parent
eb173be4f1
commit
2248705e1a
|
@ -3046,7 +3046,7 @@ class AuthSrv(object):
|
||||||
"dvol": self.args.au_vol,
|
"dvol": self.args.au_vol,
|
||||||
"idxh": int(self.args.ih),
|
"idxh": int(self.args.ih),
|
||||||
"dutc": not self.args.localtime,
|
"dutc": not self.args.localtime,
|
||||||
"dfszf": self.args.ui_filesz,
|
"dfszf": self.args.ui_filesz.strip("-"),
|
||||||
"themes": self.args.themes,
|
"themes": self.args.themes,
|
||||||
"turbolvl": self.args.turbo,
|
"turbolvl": self.args.turbo,
|
||||||
"nosubtle": self.args.nosubtle,
|
"nosubtle": self.args.nosubtle,
|
||||||
|
|
|
@ -155,7 +155,7 @@ class Cfg(Namespace):
|
||||||
ex = "gid uid"
|
ex = "gid uid"
|
||||||
ka.update(**{k: -1 for k in ex.split()})
|
ka.update(**{k: -1 for k in ex.split()})
|
||||||
|
|
||||||
ex = "hash_mt hsortn qdel safe_dedup scan_pr_r scan_pr_s scan_st_r srch_time tail_fd tail_rate th_spec_p u2abort u2j u2sz ui_filesz unp_who"
|
ex = "hash_mt hsortn qdel safe_dedup scan_pr_r scan_pr_s scan_st_r srch_time tail_fd tail_rate th_spec_p u2abort u2j u2sz unp_who"
|
||||||
ka.update(**{k: 1 for k in ex.split()})
|
ka.update(**{k: 1 for k in ex.split()})
|
||||||
|
|
||||||
ex = "ac_convt au_vol dl_list du_iwho mtab_age reg_cap s_thead s_tbody tail_tmax tail_who th_convt ups_who ver_iwho zip_who"
|
ex = "ac_convt au_vol dl_list du_iwho mtab_age reg_cap s_thead s_tbody tail_tmax tail_who th_convt ups_who ver_iwho zip_who"
|
||||||
|
@ -223,6 +223,7 @@ class Cfg(Namespace):
|
||||||
th_x3="n",
|
th_x3="n",
|
||||||
u2sort="s",
|
u2sort="s",
|
||||||
u2ts="c",
|
u2ts="c",
|
||||||
|
ui_filesz="1",
|
||||||
unpost=600,
|
unpost=600,
|
||||||
ver_who="all",
|
ver_who="all",
|
||||||
warksalt="hunter2",
|
warksalt="hunter2",
|
||||||
|
|
Loading…
Reference in a new issue