Skip to content

Commit

Permalink
ImportHelper - fix find_sensite_path
Browse files Browse the repository at this point in the history
  • Loading branch information
K0lb3 authored Oct 14, 2023
1 parent 37fef64 commit 17b66cf
Showing 1 changed file with 1 addition and 1 deletion.
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 17b66cf

Please sign in to comment.