add a lot of current stuff

this is not (yet) in the frm2 repo

Change-Id: Ia5b2996803c3dbb15b85ab1bc3a24717ac6297fb
This commit is contained in:
2020-07-29 14:57:50 +02:00
parent d9a2045fca
commit 0641968715
367 changed files with 36798 additions and 24 deletions

View File

@ -110,9 +110,10 @@ class CalCurve:
break
# then try adding all kinds as extension
for kind in KINDS:
filename = join(path.strip(), '%s.%s' % (calibname, kind))
if exists(filename):
break
for nam in {calibname, calibname.upper(), calibname.lower()}:
filename = join(path.strip(), '%s.%s' % (nam, kind))
if exists(filename):
break
else:
continue
break