From d46fe05b424da814f563365f6047243656d207e9 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Tue, 24 Dec 2024 01:36:13 +0900 Subject: [PATCH] #3 --- __init__.py | 1 + models.py | 2 +- queries_to_answers.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index e69de29..b2031e7 100644 --- a/__init__.py +++ b/__init__.py @@ -0,0 +1 @@ +from . import config, consts, models diff --git a/models.py b/models.py index a9fcb43..3c5ac39 100644 --- a/models.py +++ b/models.py @@ -4,7 +4,7 @@ from datetime import datetime from eloquent import Model -from .config import DB +from config import DB class AnsweredFlag (Model): diff --git a/queries_to_answers.py b/queries_to_answers.py index 338dfd9..c0b58cf 100644 --- a/queries_to_answers.py +++ b/queries_to_answers.py @@ -60,6 +60,7 @@ def add_answer ( def add_answered_flags ( answer: Answer, ) -> None: + print (answer.answer_type) if answer.answer_type in [AnswerType.YOUTUBE_REPLY]: add_answered_flag (answer, Platform.YOUTUBE) if answer.answer_type in [AnswerType.BLUESKY_REPLY]: