From 16834f8802691ef95d60e48375ed536ece08e9b4 Mon Sep 17 00:00:00 2001 From: l_samenv Date: Fri, 4 Dec 2020 13:33:54 +0100 Subject: [PATCH] fix a bug softcal - stop searching for files on the first match --- secop_psi/softcal.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/secop_psi/softcal.py b/secop_psi/softcal.py index 08de21a..ae6dce0 100644 --- a/secop_psi/softcal.py +++ b/secop_psi/softcal.py @@ -114,6 +114,9 @@ class CalCurve: filename = join(path.strip(), '%s.%s' % (nam, kind)) if exists(filename): break + else: + continue + break else: continue break