mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-11 17:14:38 +02:00
fix: Add missing assignation
This commit is contained in:
@@ -72,7 +72,7 @@ def archive_link(link: Link, overwrite: bool=False, methods: Optional[Iterable[s
|
||||
try:
|
||||
snapshot = Snapshot.objects.get(url=link.url) # TODO: This will be unnecessary once everything is a snapshot
|
||||
except Snapshot.DoesNotExist:
|
||||
write_link_to_sql_index(link)
|
||||
snapshot = write_link_to_sql_index(link)
|
||||
|
||||
ARCHIVE_METHODS = get_default_archive_methods()
|
||||
|
||||
|
@@ -17,7 +17,6 @@ def test_update_status_invalid(tmp_path, process, disable_extractors_dict):
|
||||
assert link is None
|
||||
|
||||
update_process = subprocess.run(['archivebox', 'update', '--status=invalid'], capture_output=True, env=disable_extractors_dict)
|
||||
#breakpoint()
|
||||
|
||||
conn = sqlite3.connect(str(tmp_path / "index.sqlite3"))
|
||||
c = conn.cursor()
|
||||
|
Reference in New Issue
Block a user