From d5652fb4f73fec316b890e79610fec9db1853b8c Mon Sep 17 00:00:00 2001 From: Escartem Date: Fri, 30 Aug 2024 19:58:51 +0200 Subject: [PATCH] fix hdiff load bug --- extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extract.py b/extract.py index 2a5ac78..69d6a9e 100644 --- a/extract.py +++ b/extract.py @@ -65,8 +65,8 @@ class WwiseExtract: def compare_diff(self, old, new): old_dict = {file[0]:file[2] for file in old} - new_files = [file for file in new if file not in list(old_dict.keys())] - changed_files = [file for file in new if file in list(old_dict.keys()) and file[2] != old_dict[file[0]]] + new_files = [file for file in new if file[0] not in list(old_dict.keys())] + changed_files = [file for file in new if file[0] in list(old_dict.keys()) and file[2] != old_dict[file[0]]] return [new_files, changed_files]