Browse Source

細部

main
みてるぞ 1 week ago
parent
commit
0ed28387a5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      queries_to_answers.py

+ 2
- 2
queries_to_answers.py View File

@@ -102,12 +102,12 @@ def add_answered_flags (


answer_type: QueryType answer_type: QueryType
try: try:
answer_type = QueryType (answer.query.query_type)
answer_type = QueryType (answer.query_ref.query_type)
except (TypeError, ValueError): except (TypeError, ValueError):
return return


if answer_type in (QueryType.YOUTUBE_COMMENT, if answer_type in (QueryType.YOUTUBE_COMMENT,
QueryType.YOUTUBE_COMMENT,
QueryType.YOUTUBE_SYSTEM,
QueryType.KIRIBAN, QueryType.KIRIBAN,
QueryType.NICO_REPORT, QueryType.NICO_REPORT,
QueryType.SNACK_TIME, QueryType.SNACK_TIME,


Loading…
Cancel
Save