From 9df57d275f44d8f7919bd9b307bcf09a30c53683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 15:48:19 +0200 Subject: 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(+) (limited to 'scripts/configurations.py') diff --git a/scripts/configurations.py b/scripts/configurations.py index 73af8e2..35eaa37 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -153,6 +153,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 -- cgit v1.2.3