From fec46413c3652ac9fba155da021f7125e318d166 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 3 Jun 2010 12:22:38 -0400 Subject: [PATCH] Don't join directory in WTKDriver.__find_previous_cantilever_calibration_file(). We already did that in ._list_cantilever_calibration_files(). --- hooke/driver/wtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/driver/wtk.py b/hooke/driver/wtk.py index ec7670d..ca3f2c9 100644 --- a/hooke/driver/wtk.py +++ b/hooke/driver/wtk.py @@ -248,7 +248,7 @@ class WTKDriver (Driver): if self._calibfile_timestamp(calibfiles[i]) > timestamp: i -= 1 break - return os.path.join(dir, calibfiles[i]) + return calibfiles[i] def _read_cantilever_calibration_file(self, filename): ret = {'file': filename} -- 2.26.2