Commit 1a8900d8 authored by Javier Quinteros's avatar Javier Quinteros
Browse files

Fix wrong log message

parent e59e1223
......@@ -473,10 +473,10 @@ class TDMS(object):
tap = (len(self.__filter) - 1) / (2.0 * self.sampling_rate)
# If there is decimation adjust the start and end times to include the tapering
# and later keep exactly what user requests
logs.debug('Readjust start and end time to accommodate the filter length: %s - %s' %
(self.__twstart, self.__twend))
self.__twstart -= datetime.timedelta(seconds=tap)
self.__twend += datetime.timedelta(seconds=tap)
logs.debug('Readjust start and end time to accommodate the filter length: %s - %s' %
(self.__twstart, self.__twend))
except KeyError:
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment