feat: Patch setup_django so we can use an inmemory db in specific commands

This commit is contained in:
Cristian 2020-12-08 18:05:37 -05:00 committed by Cristian Vargas
parent 35a5700c73
commit 9aac09a5e1
6 changed files with 18 additions and 13 deletions

View file

@ -524,7 +524,7 @@ def oneshot(url: str, out_dir: Path=OUTPUT_DIR):
)
raise SystemExit(2)
methods = ignore_methods(['title'])
archive_link(oneshot_link[0], out_dir=out_dir, methods=methods, skip_index=True)
archive_link(oneshot_link[0], out_dir=out_dir, methods=methods, skip_index=False)
return oneshot_link
@enforce_types