diff --git a/UnityPy/__init__.py b/UnityPy/__init__.py index 30b0ea25..e9ab419f 100644 --- a/UnityPy/__init__.py +++ b/UnityPy/__init__.py @@ -1,4 +1,4 @@ -__version__ = "1.10.3" +__version__ = "1.10.4" from .environment import Environment from .helpers.ArchiveStorageManager import set_assetbundle_decrypt_key diff --git a/UnityPy/helpers/ImportHelper.py b/UnityPy/helpers/ImportHelper.py index e931daae..089a0a03 100644 --- a/UnityPy/helpers/ImportHelper.py +++ b/UnityPy/helpers/ImportHelper.py @@ -154,7 +154,7 @@ def find_sensitive_path(dir: str, insensitive_path: str) -> Union[str, None]: (name for name in os.listdir(senstive_path) if name.lower() == part_lower), None, ) - if next is None: + if part is None: return None senstive_path = os.path.join(senstive_path, part)