mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-23 14:44:21 +02:00
fix direct assignment of tags to many-to-many set
This commit is contained in:
@@ -37,6 +37,7 @@ def write_link_to_sql_index(link: Link):
|
|||||||
tag_list = list(dict.fromkeys(
|
tag_list = list(dict.fromkeys(
|
||||||
tag.strip() for tag in (link.tags or '').split(',')
|
tag.strip() for tag in (link.tags or '').split(',')
|
||||||
))
|
))
|
||||||
|
info.pop('tags')
|
||||||
|
|
||||||
try:
|
try:
|
||||||
info["timestamp"] = Snapshot.objects.get(url=link.url).timestamp
|
info["timestamp"] = Snapshot.objects.get(url=link.url).timestamp
|
||||||
|
Reference in New Issue
Block a user