Skip to content

Commit

Permalink
fix: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
anjakefala committed Nov 28, 2019
1 parent 301fe00 commit a792193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dias/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def filter_files_by_time(
for f in files:
# obtain file's date from name
# files have naming structure YYYYmmddT*
file_time = re.search("(\d*)T.*", f).groups[0]
file_time = re.search("(\d*)T.*", f).groups()[0]
file_time = datetime.strptime(file_time, "%Y%m%d")

if (file_time >= start_time) and (file_time <= stop_time):
Expand Down

0 comments on commit a792193

Please sign in to comment.