Commit 8d9b70c7 authored by 李小芳's avatar 李小芳

Merge branch 'mr/beta/dbmw' into 'master'

grey

See merge request !44
parents e64ade96 690d7a36
......@@ -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,6 +262,7 @@ def get_answers(pks):
item['show_by_index'] = answer.get_answer_show_by_index(answer.id)
data.append(item)
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