fix boolean comparison

This commit is contained in:
Jakub Trllo 2025-04-07 14:10:39 +02:00
parent 4cf0c9be7a
commit c97b58fc05

View file

@ -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"]