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)