1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-22 22:25:24 +02:00

fix direct assignment of tags to many-to-many set

This commit is contained in:
Nick Sweeting
2021-12-23 12:29:17 -05:00
committed by GitHub
parent b1b7ee2b85
commit d7f01922f3

View File

@@ -37,6 +37,7 @@ def write_link_to_sql_index(link: Link):
tag_list = list(dict.fromkeys(
tag.strip() for tag in (link.tags or '').split(',')
))
info.pop('tags')
try:
info["timestamp"] = Snapshot.objects.get(url=link.url).timestamp