diff --git a/scripts/tag_frequency_db.py b/scripts/tag_frequency_db.py index bed8355..71862e6 100644 --- a/scripts/tag_frequency_db.py +++ b/scripts/tag_frequency_db.py @@ -124,7 +124,7 @@ class TagFrequencyDb: (tag,ttype), ) tag_count = cursor.fetchone() - yield (tag, tag_count[0]) if tag_count else (tag, 0) + yield (tag, ttype, tag_count[0]) if tag_count else (tag, ttype, 0) def increase_tag_count(self, tag, ttype): current_count = self.get_tag_count(tag, ttype)