From 22365ec8d678404f8aae861acf2ff85e36133771 Mon Sep 17 00:00:00 2001 From: DominikDoom Date: Tue, 26 Sep 2023 12:02:36 +0200 Subject: [PATCH] Add missing type return to list request --- scripts/tag_frequency_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)