From: W. Trevor King Date: Tue, 9 Nov 2010 20:24:47 +0000 (-0500) Subject: data_logger.normalize_logdir -> normalize_log_dir with data_logger v0.4. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3a298aee11dde7378b4b6501e55395fd72db568;p=hooke.git data_logger.normalize_logdir -> normalize_log_dir with data_logger v0.4. --- diff --git a/hooke/driver/wtk.py b/hooke/driver/wtk.py index 096cef1..b1a09be 100644 --- a/hooke/driver/wtk.py +++ b/hooke/driver/wtk.py @@ -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