Review: Needs Fixing

9       +INVALID_FILE_CHARS = re.compile(u'[\\\/:\*\?"<>\|\+\[\]%]', re.UNICODE)

You need to use r'...' not u'...' if you want to actually use proper regular 
expressions. "r" means a raw string, so that backslashes are not interpreted as 
escape characters.
-- 
https://code.launchpad.net/~phill-ridout/openlp/bug952533/+merge/98922
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to