diff --git a/client/ayon_wrap/api/lib.py b/client/ayon_wrap/api/lib.py index 31607b2..bf09db7 100644 --- a/client/ayon_wrap/api/lib.py +++ b/client/ayon_wrap/api/lib.py @@ -97,7 +97,7 @@ def _get_version(project_name, product_name, product_id, else: try: version_int = int(version_val) - except: + except BaseException: raise ApplicationLaunchFailed( f"Couldn't convert value '{version_val}' to " f"integer. Please fix it in '{workfile_path}'") diff --git a/client/ayon_wrap/hooks/pre_replace_placeholders.py b/client/ayon_wrap/hooks/pre_replace_placeholders.py index c55815f..5ebba18 100644 --- a/client/ayon_wrap/hooks/pre_replace_placeholders.py +++ b/client/ayon_wrap/hooks/pre_replace_placeholders.py @@ -3,7 +3,7 @@ import json from ayon_applications import PreLaunchHook, LaunchTypes -from ayon_core.pipeline import Anatomy, AVALON_CONTAINER_ID +from ayon_core.pipeline import AVALON_CONTAINER_ID from ayon_core.lib import get_version_from_path from ayon_wrap import api