This happens when "string" is a blank string. It's actually a bug in the 
function that we've come across elsewhere, but I think we did something else to 
fix it and didn't fix the function itself.

You should be able to fix that by changing line 532 in 
openlp/core/utils/__init__.py to this:

    if string and string[0].isdigit():


-- 
https://code.launchpad.net/~minkus/openlp/naturalsortsongs/+merge/289566
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