mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 14:10:20 +00:00
match existing snapshots on url only, ignoring timestamp
This commit is contained in:
parent
f371032b71
commit
6e142e3531
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def write_sql_link_details(link: Link, out_dir: str=OUTPUT_DIR) -> None:
|
|||
from django.db import transaction
|
||||
|
||||
with transaction.atomic():
|
||||
snap = Snapshot.objects.get(url=link.url, timestamp=link.timestamp)
|
||||
snap = Snapshot.objects.get(url=link.url)
|
||||
snap.title = link.title
|
||||
snap.tags = link.tags
|
||||
snap.save()
|
||||
|
|
Loading…
Reference in a new issue