From 0ed28387a5ba17550ddcd7644254f2ee5e5437b8 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Sun, 26 Oct 2025 05:18:06 +0900 Subject: [PATCH] =?UTF-8?q?=E7=B4=B0=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queries_to_answers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries_to_answers.py b/queries_to_answers.py index 80fa9ab..cd9d96f 100644 --- a/queries_to_answers.py +++ b/queries_to_answers.py @@ -102,12 +102,12 @@ def add_answered_flags ( answer_type: QueryType try: - answer_type = QueryType (answer.query.query_type) + answer_type = QueryType (answer.query_ref.query_type) except (TypeError, ValueError): return if answer_type in (QueryType.YOUTUBE_COMMENT, - QueryType.YOUTUBE_COMMENT, + QueryType.YOUTUBE_SYSTEM, QueryType.KIRIBAN, QueryType.NICO_REPORT, QueryType.SNACK_TIME,