This commit is contained in:
Nick Sweeting
2025-12-28 17:51:54 -08:00
parent 54f91c1339
commit f0aa19fa7d
157 changed files with 6774 additions and 5061 deletions

View File

@@ -41,7 +41,7 @@ def bg_archive_snapshots(snapshots, kwargs: dict | None = None) -> int:
Returns the number of snapshots queued.
"""
from core.models import Snapshot
from archivebox.core.models import Snapshot
kwargs = kwargs or {}
@@ -68,7 +68,7 @@ def bg_archive_snapshot(snapshot, overwrite: bool = False, methods: list | None
Returns 1 if queued, 0 otherwise.
"""
from core.models import Snapshot
from archivebox.core.models import Snapshot
# Queue the snapshot by setting status to queued
if hasattr(snapshot, 'id'):