diff --git a/frappy_psi/softcal.py b/frappy_psi/softcal.py index 81c035e5..816ab82d 100644 --- a/frappy_psi/softcal.py +++ b/frappy_psi/softcal.py @@ -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(',', ' ').split(' ') pathlist.append(join(dirname(__file__), 'calcurves')) for path in pathlist: # first try without adding kind @@ -296,4 +296,3 @@ class Function(Readable): @nopoll def read_status(self): return self._get_status(self.rawsensor.read_status()) - \ No newline at end of file