Commit ab5c6a03 by dong

fix

parent f8270bb4
...@@ -61,7 +61,7 @@ def adds(): ...@@ -61,7 +61,7 @@ def adds():
project_id = obj.id project_id = obj.id
print(project_id) print(project_id)
except: except:
if i["startTime"] and d > datetime.strptime(i["startTime"], "%Y-%m-%d"): if i["endTime"] and d > datetime.strptime(i["endTime"], "%Y-%m-%d"):
status = '已完成' status = '已完成'
elif i["startTime"]: elif i["startTime"]:
status = '顺利推进' status = '顺利推进'
......
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