mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
fix PRTY_CONFIG not reading global flags from the config
This commit is contained in:
parent
e9ddfccfb6
commit
ccf92b7ce5
|
@ -1767,6 +1767,10 @@ def main(argv: Optional[list[str]] = None) -> None:
|
|||
|
||||
ensure_webdeps()
|
||||
|
||||
if CFG_DEF:
|
||||
supp = args_from_cfg(CFG_DEF[0])
|
||||
argv.extend(supp)
|
||||
|
||||
for k, v in zip(argv[1:], argv[2:]):
|
||||
if k == "-c" and os.path.isfile(v):
|
||||
supp = args_from_cfg(v)
|
||||
|
|
Loading…
Reference in a new issue