fnConstructor now works on eventIDs also
This commit is contained in:
parent
d7a4692afc
commit
3e559f61da
@ -7,6 +7,8 @@ import re
|
|||||||
|
|
||||||
def fnConstructor(s):
|
def fnConstructor(s):
|
||||||
|
|
||||||
|
s = s.split('/')[-1]
|
||||||
|
|
||||||
badchars = re.compile(r'[^A-Za-z0-9_. ]+|^\.|\.$|^ | $|^$')
|
badchars = re.compile(r'[^A-Za-z0-9_. ]+|^\.|\.$|^ | $|^$')
|
||||||
badsuffix = re.compile(r'(aux|com[1-9]|con|lpt[1-9]|prn)(\.|$)')
|
badsuffix = re.compile(r'(aux|com[1-9]|con|lpt[1-9]|prn)(\.|$)')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user