Fix bios_extract path

This commit is contained in:
RichardG867
2021-12-15 22:51:21 -03:00
parent af02b7b0e9
commit 3b8ed89dce
2 changed files with 2 additions and 2 deletions

View File

@@ -128,7 +128,7 @@ def extract(dir_path, _, options):
return 2
# Check if bios_extract is there.
if not os.path.exists(os.path.abspath(os.path.join('bios_extract', 'src', 'bios_extract'))):
if not os.path.exists(os.path.abspath(os.path.join('bios_extract', 'bios_extract'))):
print('bios_extract binary not found, did you compile it?', file=sys.stderr)
return 3

View File

@@ -107,7 +107,7 @@ class BIOSExtractor(Extractor):
super().__init__(*args, **kwargs)
# Path to the bios_extract utility.
self._bios_extract_path = os.path.abspath(os.path.join('bios_extract', 'src', 'bios_extract'))
self._bios_extract_path = os.path.abspath(os.path.join('bios_extract', 'bios_extract'))
if not os.path.exists(self._bios_extract_path):
self._bios_extract_path = None