From 4725a9c7f456fba4ffdabdf92dad80341dd91c54 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Thu, 28 Nov 2024 02:39:49 +0900 Subject: [PATCH] =?UTF-8?q?#3=20queries=20=E3=81=AE=20answered=20=E3=82=92?= =?UTF-8?q?=E5=9B=9E=E7=AD=94=E5=BE=8C=E7=AB=8B=E3=81=A6=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- queries_to_answers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/queries_to_answers.py b/queries_to_answers.py index 0021f24..356f3f7 100644 --- a/queries_to_answers.py +++ b/queries_to_answers.py @@ -51,6 +51,8 @@ def main ( answer.answer_type = query.query_type answer.sent_at = datetime.now () answer.save () + query.answered = True + query.save () class Character (Enum):