data_logger.normalize_logdir -> normalize_log_dir with data_logger v0.4.
authorW. Trevor King <wking@drexel.edu>
Tue, 9 Nov 2010 20:24:47 +0000 (15:24 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 9 Nov 2010 20:24:47 +0000 (15:24 -0500)
hooke/driver/wtk.py

index 096cef127f6162a3f145f907711a8cd10f83a11f..b1a09be42233745706da2819d40d9955bc0a460a 100644 (file)
@@ -218,7 +218,7 @@ class WTKDriver (Driver):
         if basedir == None:
             basedir = self.config['cantilever calibration directory']
         YYYYMMDD = time.strftime("%Y%m%d", time.localtime(timestamp))
-        dir = os.path.join(data_logger.normalize_logdir(basedir), YYYYMMDD)
+        dir = os.path.join(data_logger.normalize_log_dir(basedir), YYYYMMDD)
         if not os.path.exists(dir):
             return []
         all_calibfiles = os.listdir(dir) # everything in the directory