fix a bug softcal
- stop searching for files on the first match
This commit is contained in:
1 parent
d9650d7fc7
commit
16834f8802
1 file changed
+3
@@ -114,6 +114,9 @@ class CalCurve:
|
||||
filename = join(path.strip(), '%s.%s' % (nam, kind))
|
||||
if exists(filename):
|
||||
break
|
||||
else:
|
||||
continue
|
||||
break
|
||||
else:
|
||||
continue
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user