From 8ece0dc8fe516712af04fd603bdea739f7e652a5 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 23 Jun 2020 11:50:11 +0200 Subject: [PATCH] changed check of "error" of result after action --- pype/tools/pyblish_pype/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pype/tools/pyblish_pype/window.py b/pype/tools/pyblish_pype/window.py index 2967488572..3c7808496c 100644 --- a/pype/tools/pyblish_pype/window.py +++ b/pype/tools/pyblish_pype/window.py @@ -984,7 +984,7 @@ class Window(QtWidgets.QDialog): self._suspend_logs ) - if "error" in result: + if result.get("error"): action_state |= PluginActionStates.HasFailed plugin_item.setData(action_state, Roles.PluginActionProgressRole)