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 096cef1..b1a09be 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