Commit f3326fe4 authored by 段英荣's avatar 段英荣

modify

parent 61cad976
...@@ -138,7 +138,7 @@ class TypeInfo(object): ...@@ -138,7 +138,7 @@ class TypeInfo(object):
)) ))
else: else:
data_list.append(data) data_list.append(data)
if self.type=="topic" and instance.content_level>=3: if self.type=="topic" and instance.content_level and int(instance.content_level)>=3:
topic_data_high_star_list.append(data) topic_data_high_star_list.append(data)
return (data_list,topic_data_high_star_list) return (data_list,topic_data_high_star_list)
......
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