Skip to content

Commit

Permalink
rename list
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni committed Feb 16, 2024
1 parent a270318 commit 99520ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1000,10 +1000,10 @@ def inc_label(label):
label = label[:x] + 'A' + label[x + 1 :]
return 'A' + label

def combine_hashes(list):
list.sort()
def combine_hashes(values):
values.sort()
hasher = hashlib.sha256(usedforsecurity=False)
for item in list:
for item in values:
hasher.update(item.encode())
return hasher.hexdigest()

Expand Down

0 comments on commit 99520ee

Please sign in to comment.