mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-22 06:03:23 +02:00
Fixed empty tags
This commit is contained in:
@@ -72,6 +72,8 @@ def write_sql_link_details(link: Link, out_dir: Path=OUTPUT_DIR) -> None:
|
|||||||
tag_list = list(tag_set) or []
|
tag_list = list(tag_set) or []
|
||||||
|
|
||||||
for tag in tag_list:
|
for tag in tag_list:
|
||||||
|
# TODO check empty tags
|
||||||
|
if snap.tags:
|
||||||
snap.tags.add(tag)
|
snap.tags.add(tag)
|
||||||
snap.save()
|
snap.save()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user