mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
feat: Patch setup_django so we can use an inmemory db in specific commands
This commit is contained in:
committed by
Cristian Vargas
parent
35a5700c73
commit
9aac09a5e1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user