From dc2ecdd813af9a69fc95170c14b2a1acf8ecb111 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 28 May 2019 09:36:00 +0200 Subject: Treatment wizard: fix resultings finds gen (py3) --- archaeological_finds/wizards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_finds/wizards.py') diff --git a/archaeological_finds/wizards.py b/archaeological_finds/wizards.py index 0e7828eca..675d28474 100644 --- a/archaeological_finds/wizards.py +++ b/archaeological_finds/wizards.py @@ -384,7 +384,7 @@ class Treatment1NWizard(TreatmentBase): # extract attributes to generate the new find dct['resulting_finds'] = {} - for k in dct.keys(): + for k in list(dct.keys()): if k.startswith('resultings_'): dct['resulting_finds'][ k[len('resultings_'):] -- cgit v1.2.3