Commit 2869ce0b authored by wanliofficial's avatar wanliofficial

update

parent ba6e79d1
...@@ -107,7 +107,7 @@ class BuildLogsManager(object): ...@@ -107,7 +107,7 @@ class BuildLogsManager(object):
if not app: if not app:
return False, "app not found" return False, "app not found"
result = BuildLogs.get(app=app) result = BuildLogs.select().where(app=app).order_by(desc(BuildLogs.create_at)).first()
print(result) print(result)
if result: if result:
result = result.to_dict(only=["uuid", "app_path"]) result = result.to_dict(only=["uuid", "app_path"])
......
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