1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 21:40:03 +00:00

Fix extract_assets.py -s modification check (#1978)

This commit is contained in:
cadmic 2024-06-26 07:30:55 -07:00 committed by GitHub
parent 1b0e35c89a
commit 93b687e43f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -149,9 +149,9 @@ def main():
initializeWorker(versionConfig, mainAbort, args.unaccounted, extractedAssetsTracker, manager) initializeWorker(versionConfig, mainAbort, args.unaccounted, extractedAssetsTracker, manager)
# Always extract if -s is used. # Always extract if -s is used.
fullPath = assetConfig.xml_path xml_path_str = str(assetConfig.xml_path)
if fullPath in extractedAssetsTracker: if xml_path_str in extractedAssetsTracker:
del extractedAssetsTracker[fullPath] del extractedAssetsTracker[xml_path_str]
ExtractFunc(assetConfig) ExtractFunc(assetConfig)
else: else:
class CannotMultiprocessError(Exception): class CannotMultiprocessError(Exception):