mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 08:04:26 -04:00
refactor: oneshot command is functional
This commit is contained in:
parent
973f8b6abc
commit
c51d789ad4
5 changed files with 13 additions and 10 deletions
|
@ -61,7 +61,7 @@ def write_sql_snapshot_details(snapshot: Model, out_dir: Path=OUTPUT_DIR) -> Non
|
|||
try:
|
||||
snap = Snapshot.objects.get(url=snapshot.url)
|
||||
except Snapshot.DoesNotExist:
|
||||
snap = write_snapshot_to_sql_index(snapshot)
|
||||
snap = write_snapshot_to_index(snapshot)
|
||||
snap.title = snapshot.title
|
||||
|
||||
# TODO: If there are actual tags, this will break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue