Fix type comparison in reproducible script.

Resolves #14571
This commit is contained in:
BarbossHack
2026-01-31 19:58:19 +01:00
committed by Greyson Parrelli
parent d74350b708
commit 35190ebb63

View File

@@ -226,7 +226,7 @@ def compare_resources_arsc(first_entry_bytes: bytes, second_entry_bytes: bytes)
pkg1 = packages1[i]
pkg2 = packages2[i]
if type(pkg1) != type(pkg2):
if type(pkg1) is not type(pkg2):
print(f"Element type mismatch at index {i}: {type(pkg1).__name__} vs {type(pkg2).__name__}")
success = False
continue