Skip to content

Commit 903bdad

Browse files
authored
ImportHelper - fix find_sensite_path (#212)
* ImportHelper - fix find_sensite_path * bump version fixes #212
1 parent 37fef64 commit 903bdad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

UnityPy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "1.10.3"
1+
__version__ = "1.10.4"
22

33
from .environment import Environment
44
from .helpers.ArchiveStorageManager import set_assetbundle_decrypt_key

UnityPy/helpers/ImportHelper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def find_sensitive_path(dir: str, insensitive_path: str) -> Union[str, None]:
154154
(name for name in os.listdir(senstive_path) if name.lower() == part_lower),
155155
None,
156156
)
157-
if next is None:
157+
if part is None:
158158
return None
159159
senstive_path = os.path.join(senstive_path, part)
160160

0 commit comments

Comments
 (0)