Commit 9d8d6eb1 authored by 段英荣's avatar 段英荣

modify

parent 8a2ce419
......@@ -118,7 +118,7 @@ class TopicTransfer(object):
# excelllect_object = ExcellentTopic.objects.filter(topic_id=instance.id).first()
# if excelllect_object and excelllect_object.is_online and not excelllect_object.is_deleted:
is_excellent = instance.judge_if_excellent_topic(instance.id)
if is_excellect:
if is_excellent:
res["is_excellent"] = 1
else:
res["is_excellent"] = 0
......
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