Working regexp.

This commit is contained in:
Michael Still 2014-05-26 16:15:08 +10:00
parent dbd02963a1
commit dca00fc757
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ while day < datetime.datetime.now():
day += one_day
# Reprocess the last 90 days?
FILENAME_RE = re.compile('merged/([0-9]+)/([0-9]+)/([0-9]+)')
FILENAME_RE = re.compile('^merged/([0-9]+)/([0-9]+)/([0-9]+)$')
if True:
for dirpath, subdirs, files in os.walk('merged'):
for filename in files: