From df5b3585299628def438de1b7569b0677491ea34 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 15:48:19 +0200 Subject: [PATCH] Fix if generated existing configuration When some generator tries to register already generated solution, it shouldn't be registered. --- scripts/configurations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/configurations.py b/scripts/configurations.py index c58f3f5..2909578 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -149,6 +149,7 @@ def __register_conf__(con, conf_num, generator): if os.path.isfile(filen): if compare(filen, wfile): print("I: Generated existing configuration.") + return else: print("W: Generated configuration with collision hash.") # TODO this might have to be tweaked -- 2.39.2