diff --git a/taptap/tap_split_tags.py b/taptap/tap_split_tags.py index f7855ab..d487009 100644 --- a/taptap/tap_split_tags.py +++ b/taptap/tap_split_tags.py @@ -24,7 +24,7 @@ class SplitTapTags: all = dict() for types in self.type: all[types] = {} - sql = f"""SELECT tags FROM v_event_25 where catename='{type}' and "$part_date"='{self.day}' """ + sql = f"""SELECT tags FROM v_event_25 where catename='{types}' and "$part_date"='{self.day}' """ tags = self.tga.get_data(sql) if tags: for line in tags: