diff options
Diffstat (limited to 'bin/rmlist')
-rwxr-xr-x | bin/rmlist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ def main(): # Remove any held messages for this list for filename in os.listdir(mm_cfg.DATA_DIR): - cre = re.compile('^heldmsg-%s-\d+\.(pck|txt)$' % listname, + cre = re.compile('^heldmsg-%s-\d+\.(pck|txt)$' % re.escape(listname), re.IGNORECASE) if cre.match(filename): REMOVABLES.append((os.path.join(mm_cfg.DATA_DIR, filename), |