Skip to content
Snippets Groups Projects
Commit f3336718 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 7662eb10
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ class Files: ...@@ -12,7 +12,7 @@ class Files:
def __init__(self, files_path, file_time_span, pattern): def __init__(self, files_path, file_time_span, pattern):
self.flist = glob.glob(files_path + pattern) self.flist = glob.glob(files_path + pattern)
if len(self.flist) == 0: if len(self.flist) == 0:
raise GenericException('no matching files found in: ' + files_path) raise GenericException('no matching files found in: ' + files_path + pattern)
self.ftimes = [] self.ftimes = []
self.span_seconds = datetime.timedelta(minutes=file_time_span).seconds self.span_seconds = datetime.timedelta(minutes=file_time_span).seconds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment