Review: Needs Fixing
use find() as opposed to count():

    if file_record.find(u'@Invalid') != -1

Also, all local variables should be words_with_underscores, not camelCase.
-- 
https://code.launchpad.net/~smpettit/openlp/import-settings/+merge/73923
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to