mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-03-24 00:43:18 +10:00
fix sql link parsing and writing
This commit is contained in:
@@ -15,7 +15,7 @@ def parse_sql_main_index(out_dir: str=OUTPUT_DIR) -> Iterator[Link]:
|
||||
from core.models import Page
|
||||
|
||||
return (
|
||||
page.as_json(*Page.keys)
|
||||
Link.from_json(page.as_json(*Page.keys))
|
||||
for page in Page.objects.all()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user