We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe80a1 commit ea2f0d3Copy full SHA for ea2f0d3
UnityPy/helpers/ImportHelper.py
@@ -42,7 +42,7 @@ def find_all_files(directory: str, search_str: str) -> List[str]:
42
43
def check_file_type(
44
input_: FileSourceType,
45
-) -> Tuple[Optional[FileType], Optional[EndianBinaryReader]]:
+) -> Tuple[FileType, EndianBinaryReader]:
46
if isinstance(input_, str) and os.path.isfile(input_):
47
reader = EndianBinaryReader(open(input_, "rb"))
48
elif isinstance(input_, EndianBinaryReader):
0 commit comments