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

modify

parent 66651369
...@@ -191,6 +191,8 @@ class Topic(models.Model): ...@@ -191,6 +191,8 @@ class Topic(models.Model):
""" """
if user_is_shadow: if user_is_shadow:
offline_score = offline_score * 0.5 offline_score = offline_score * 0.5
offline_score -= self.drop_score
return offline_score return offline_score
except: except:
logging.error("catch exception,err_msg:%s" % traceback.format_exc()) logging.error("catch exception,err_msg:%s" % traceback.format_exc())
......
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