Commit 690d7a36 authored by 李小芳's avatar 李小芳

grey

parent a80361f7
......@@ -16,6 +16,7 @@ import time
import datetime
from django.conf import settings
import redis
import logging
from algorithm.text_classifical.base import model as alo_model
from gm_types.doris import SELECTED_CONTENT_TYPE
......@@ -261,7 +262,7 @@ def get_answers(pks):
item['show_by_index'] = answer.get_answer_show_by_index(answer.id)
data.append(item)
print("answer:",data)
logging.info("get data:%s" % data)
except (Answer.DoesNotExist, Question.DoesNotExist):
pass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment