fix a bug softcal

- stop searching for files on the first match
This commit is contained in:
l_samenv
2020-12-04 13:33:54 +01:00
parent d9650d7fc7
commit 16834f8802

View File

@ -114,6 +114,9 @@ class CalCurve:
filename = join(path.strip(), '%s.%s' % (nam, kind)) filename = join(path.strip(), '%s.%s' % (nam, kind))
if exists(filename): if exists(filename):
break break
else:
continue
break
else: else:
continue continue
break break