From 93b687e43f329fcb3d5566a8c8ddb3f068e351f9 Mon Sep 17 00:00:00 2001 From: cadmic Date: Wed, 26 Jun 2024 07:30:55 -0700 Subject: [PATCH] Fix extract_assets.py -s modification check (#1978) --- extract_assets.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extract_assets.py b/extract_assets.py index d7b6ecca75..49a165ca7c 100755 --- a/extract_assets.py +++ b/extract_assets.py @@ -149,9 +149,9 @@ def main(): initializeWorker(versionConfig, mainAbort, args.unaccounted, extractedAssetsTracker, manager) # Always extract if -s is used. - fullPath = assetConfig.xml_path - if fullPath in extractedAssetsTracker: - del extractedAssetsTracker[fullPath] + xml_path_str = str(assetConfig.xml_path) + if xml_path_str in extractedAssetsTracker: + del extractedAssetsTracker[xml_path_str] ExtractFunc(assetConfig) else: class CannotMultiprocessError(Exception):