Commit d0c4a1a3 authored by 王浩's avatar 王浩

Merge branch 'sixs' into 'master'

add

See merge request alpha/physical!375
parents f7077cdb b147b46a
......@@ -78,7 +78,7 @@ class Pictorial(models.Model):
for topic_id in topic_id_list:
topic_id_object = Topic.objects.filter(id=int(topic_id)).first()
if topic_id_object and topic_id_object.is_online and int(topic_id_object.content_level) in [0, 3, 4, 5]:
if topic_id_object and topic_id_object.is_online and int(topic_id_object.content_level) in [0, 3, 4, 5,6]:
effective_num += 1
if effective_num >= 5:
ret = True
......
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