fnConstructor now works on eventIDs also

This commit is contained in:
Sebastian Wehling-Benatelli 2014-12-01 12:43:49 +01:00
parent d7a4692afc
commit 3e559f61da

View File

@ -7,6 +7,8 @@ import re
def fnConstructor(s):
s = s.split('/')[-1]
badchars = re.compile(r'[^A-Za-z0-9_. ]+|^\.|\.$|^ | $|^$')
badsuffix = re.compile(r'(aux|com[1-9]|con|lpt[1-9]|prn)(\.|$)')