Review: Approve
if len(verse) == 0:
continue
In Python, None, '', 0 and [] (an empty list) all equate to False, so you could
also simply do this:
if not verse:
continue
What you have typed is perfectly legitimate though.
--
https://code.launchpad.net/~karan85/openlp/ewimport-fix/+merge/66885
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