diff --git a/cooperative_cuisine/validation.py b/cooperative_cuisine/validation.py index 5bc7aaa02b3ebd2bc3ec18583a7ff76e9c34f334..111edaf73d760b87e97e053b6b55b83420ae578c 100644 --- a/cooperative_cuisine/validation.py +++ b/cooperative_cuisine/validation.py @@ -182,7 +182,9 @@ class Validation: ] ) - before_hash = "".join(sorted(str(sorted([sorted(i) for i in graph.edges])))) + before_hash = "".join( + sorted(str(sorted([sorted(i) for i in graph.edges]))) + ) + str(score) h = hashlib.new("sha1") h.update(before_hash.encode()) graph_hash = h.hexdigest()