mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
fix boolean comparison
This commit is contained in:
parent
4cf0c9be7a
commit
c97b58fc05
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ class ActionsModel:
|
|||
response = ayon_api.post(url, **context)
|
||||
response.raise_for_status()
|
||||
data = response.data
|
||||
if data["success"] == True:
|
||||
if data["success"] is True:
|
||||
self._handle_webaction_response(data)
|
||||
else:
|
||||
error_message = data["message"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue