Skip to content

Commit

Permalink
ImportHelper - fix find_sensite_path (#212)
Browse files Browse the repository at this point in the history
* ImportHelper - fix find_sensite_path
* bump version

fixes #212
  • Loading branch information
K0lb3 authored Oct 14, 2023
1 parent 37fef64 commit 903bdad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UnityPy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "1.10.3"
__version__ = "1.10.4"

from .environment import Environment
from .helpers.ArchiveStorageManager import set_assetbundle_decrypt_key
Expand Down
2 changes: 1 addition & 1 deletion UnityPy/helpers/ImportHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 903bdad

Please sign in to comment.