Commit f1ca85d7 authored by kai's avatar kai

update

parent c09d7435
...@@ -324,9 +324,9 @@ class Topic(models.Model): ...@@ -324,9 +324,9 @@ class Topic(models.Model):
datetime_list.append(reply['create_time']) datetime_list.append(reply['create_time'])
return max(datetime_list) return max(datetime_list)
else: else:
return 0 return datetime.datetime.fromtimestamp(0)
except: except:
return 0 return datetime.datetime.fromtimestamp(0)
class TopicComplaint(models.Model): class TopicComplaint(models.Model):
......
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