openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #28997
Re: [Merge] lp:~minkus/openlp/naturalsortsongs into lp:openlp
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.
References