mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-17 08:34:26 -04:00
fix server quick-init param not being passed properly to subcommand
This commit is contained in:
parent
b06e256ad9
commit
b3a50a2c10
1 changed files with 5 additions and 2 deletions
|
@ -1084,8 +1084,11 @@ def server(runserver_args: Optional[List[str]]=None,
|
|||
|
||||
runserver_args = runserver_args or []
|
||||
|
||||
if init or quick_init:
|
||||
run_subcommand('init', quick=quick_init, stdin=None, pwd=out_dir)
|
||||
if init:
|
||||
run_subcommand('init', stdin=None, pwd=out_dir)
|
||||
|
||||
if quick_init:
|
||||
run_subcommand('init', subcommand_args=['--quick'], stdin=None, pwd=out_dir)
|
||||
|
||||
if createsuperuser:
|
||||
run_subcommand('manage', subcommand_args=['createsuperuser'], pwd=out_dir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue