Commit 9615b761 authored by lixiaofang's avatar lixiaofang

add

parent e2190bac
This diff is collapsed.
...@@ -10,6 +10,7 @@ auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create" ...@@ -10,6 +10,7 @@ auto_reply_url = "http://earth.iyanzhi.com/api/v1/reply/create"
auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow" auto_follow_url = "http://earth.iyanzhi.com/api/v1/follow"
auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge" auto_urge_url = "http://earth.iyanzhi.com/api/v1/user/urge"
# auto_click_url = "http://earth.igengmei.com/api/v1/like" # auto_click_url = "http://earth.igengmei.com/api/v1/like"
# auto_reply_url = "http://earth.igengmei.com/api/v1/reply/create" # auto_reply_url = "http://earth.igengmei.com/api/v1/reply/create"
# auto_follow_url = "http://earth.igengmei.com/api/v1/follow" # auto_follow_url = "http://earth.igengmei.com/api/v1/follow"
...@@ -157,7 +158,6 @@ def time_conv(minutest): ...@@ -157,7 +158,6 @@ def time_conv(minutest):
def time_convs(numtime, numtime2): def time_convs(numtime, numtime2):
try: try:
now = datetime.datetime.now() now = datetime.datetime.now()
yes_time = now - datetime.timedelta(days=numtime) yes_time = now - datetime.timedelta(days=numtime)
yes_time_str = yes_time.strftime('%Y-%m-%d') yes_time_str = yes_time.strftime('%Y-%m-%d')
yes_time_str = yes_time_str + ' 23:59:59.000000' yes_time_str = yes_time_str + ' 23:59:59.000000'
......
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