From 0fdf6d12abbace2298ec1b684cf853551efb8821 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Thu, 2 Feb 2017 08:15:53 -0600 Subject: [PATCH] Minor fixes to the filename regex. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 437ccf4..c7b5c53 100755 --- a/build.py +++ b/build.py @@ -24,7 +24,7 @@ import argparse # def MakeFilename(s): # Cleans up the file name, removing all non ASCII or .-_ chars - fn = re.sub(r'[^.-_a-zA-Z0-9]', '', s) + fn = re.sub(r'[^.\-_a-zA-Z0-9 ]', '', s) fn = fn.lower() fn = fn.replace(' ', '-') return fn -- 2.37.2