Commit 6fe15eef authored by wanliofficial's avatar wanliofficial

update

parent c93d03d1
......@@ -101,8 +101,8 @@ class DownloadManager(object):
return False, "app not found"
tmp = app.to_dict(with_collections=True, related_objects=True)
if tmp.get("app_build_log"):
epk_path = convert_url_to_local_path(tmp.get("app_build_log")[0].app_path)
if app.app_build_log:
epk_path = os.sep.join([os.getcwd(), app.app_build_log.app_path])
if not os.path.exists(epk_path):
return False, "epk file not found"
......
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