Review: Needs Fixing Depending on what you're wanting to achieve, you need to either use "if key is not None and ..." or "if key and ...". The first one will check if the variable's value is None, and the second one will check if the variables value is not None, False, 0 or an empty string. -- https://code.launchpad.net/~mahfiaz/openlp/unicode_warning_fix/+merge/84681 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

