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