frappy_psi.softcal: allow ':' in FRAPPY_CALIB_PATH

This commit is contained in:
zolliker committed 2026-10-19 15:51:51 +02:00
1 parent 7a2ae07286
commit 5cd0279778
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ class CalCurve:
calibname = sensopt.pop(0)
_, dot, ext = basename(calibname).rpartition('.')
kind = None
pathlist = os.environ.get('FRAPPY_CALIB_PATH', '').replace(',', ' ').split(' ')
pathlist = os.environ.get('FRAPPY_CALIB_PATH', '').replace(',', ' ').replace(':', ' ').split(' ')
pathlist.append(join(dirname(__file__), 'calcurves'))
for path in pathlist:
# first try without adding kind