From 99520ee981a18eb9ed77c9dcf9d8cabfa9507c1a Mon Sep 17 00:00:00 2001 From: mzuenni Date: Fri, 16 Feb 2024 11:47:34 +0100 Subject: [PATCH] rename list --- bin/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/util.py b/bin/util.py index 1f158135..a864c60d 100644 --- a/bin/util.py +++ b/bin/util.py @@ -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()