fix: Add missing assignation
This commit is contained in:
parent
d064a3eeff
commit
33182fd53c
2 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue