From bb0c7ca2ab9b9067d370f4cfe4d1b3cb4537c2f2 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 19 Feb 2023 14:02:02 +0100 Subject: caching view --- solve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'solve.py') diff --git a/solve.py b/solve.py index 82cf1f0..ed81c28 100644 --- a/solve.py +++ b/solve.py @@ -663,8 +663,8 @@ while True: with open('cache.pickle', 'wb') as handle: pickle.dump(cache, handle, protocol=pickle.HIGHEST_PROTOCOL) - for k, v in cache: - print(k, v) + for k in cache: + print(k, cache[k]) break -- cgit 1.4.1