mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-20 21:32:06 +02:00
fix server quick-init param not being passed properly to subcommand
This commit is contained in:
@@ -1084,8 +1084,11 @@ def server(runserver_args: Optional[List[str]]=None,
|
|||||||
|
|
||||||
runserver_args = runserver_args or []
|
runserver_args = runserver_args or []
|
||||||
|
|
||||||
if init or quick_init:
|
if init:
|
||||||
run_subcommand('init', quick=quick_init, stdin=None, pwd=out_dir)
|
run_subcommand('init', stdin=None, pwd=out_dir)
|
||||||
|
|
||||||
|
if quick_init:
|
||||||
|
run_subcommand('init', subcommand_args=['--quick'], stdin=None, pwd=out_dir)
|
||||||
|
|
||||||
if createsuperuser:
|
if createsuperuser:
|
||||||
run_subcommand('manage', subcommand_args=['createsuperuser'], pwd=out_dir)
|
run_subcommand('manage', subcommand_args=['createsuperuser'], pwd=out_dir)
|
||||||
|
Reference in New Issue
Block a user