1
0
Fork 0
mirror of synced 2024-05-16 18:32:41 +12: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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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