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

modify

parent 498efd16
......@@ -21,7 +21,7 @@ class PickUtils(object):
str_end_time = "%s-%s-%s 23:59:59" % (now.year, now.month, now.day)
end_time = datetime.datetime.strptime(str_end_time, "%Y-%m-%d %H:%M:%S")
valid_seconds = (end_time - now).seconds
valid_seconds = int((end_time - now).seconds)
redis_cli.setex(redis_key,json.dumps(have_read_celebrity_list),valid_seconds)
......
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