mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
Job status before commit fix
This commit is contained in:
parent
d8df3efdd3
commit
e78697fe8d
1 changed files with 5 additions and 6 deletions
|
|
@ -417,15 +417,14 @@ class Delivery(BaseAction):
|
|||
)
|
||||
|
||||
finally:
|
||||
if report["success"]:
|
||||
job["status"] = "done"
|
||||
else:
|
||||
job["status"] = "failed"
|
||||
session.commit()
|
||||
self.db_con.uninstall()
|
||||
|
||||
if report["success"]:
|
||||
job["status"] = "done"
|
||||
|
||||
else:
|
||||
job["status"] = "failed"
|
||||
|
||||
if not report["success"]:
|
||||
self.show_interface(
|
||||
items=report["items"],
|
||||
title=report["title"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue