diff options
Diffstat (limited to 'scripts/solution.py')
-rw-r--r-- | scripts/solution.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/solution.py b/scripts/solution.py index f9f605b..1ee1664 100644 --- a/scripts/solution.py +++ b/scripts/solution.py @@ -101,11 +101,13 @@ def apply(): solved = set() solution = [] + # Load set of solved solutions if os.path.isfile(sf(config_solved_file)): with open(sf(conf.config_solved_file)) as f: for ln in f: solved.add(ln.strip()) + # Load one solution if it is not in solved with open(sf(conf.config_map_file)) as f: while True: w = f.readline().split(sep=':') |