Skip to content

Commit 457c873

Browse files
committed
Fix inconsistent cache bug
1 parent 0ccfacd commit 457c873

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ModFiles/Hashing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def hash_file_install_orders(indices):
7777
hasher.update(str(rulebook).encode())
7878
hashhex = hasher.hexdigest()
7979
for filepath, _ in install_order:
80-
filepath_for_hash = os.path.join(*splitpath(filepath)[-2:])
80+
filepath_for_hash = os.path.join(*splitpath(filepath)[3:])
8181
result[filepath_for_hash] = hashhex
8282

8383
return result

0 commit comments

Comments
 (0)