Fix bytes decoding
parent
ff28e80769
commit
2d655a6c19
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue