From dca00fc7579acbdf5090104c65700886f62bd0a2 Mon Sep 17 00:00:00 2001 From: Michael Still Date: Mon, 26 May 2014 16:15:08 +1000 Subject: [PATCH] Working regexp. --- mirror_fetchers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror_fetchers.py b/mirror_fetchers.py index 0249049..57fc578 100755 --- a/mirror_fetchers.py +++ b/mirror_fetchers.py @@ -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: