diff --git a/hash_modules.py b/hash_modules.py index 88c39bc..b9b6ffe 100755 --- a/hash_modules.py +++ b/hash_modules.py @@ -184,7 +184,7 @@ class ModuleLoader(): for i in self.get_depends(arch, use_local=use_local, verbose=verbose): tmp = set() for j in i: - tmp = tmp.union(set(map(lambda x: x.encode("utf-8").lower(), commit_hashes(j, use_local=use_local, verbose=verbose)))) + tmp = tmp.union(set(map(lambda x: x.decode("utf-8").lower(), commit_hashes(j, use_local=use_local, verbose=verbose)))) base_hashes.append(sorted(tmp)) result = list(map(lambda x: function(b"\x00".join(x) + b"\x00" + sourceHash), itertools.product(*base_hashes))) if verbose: