In frappe/__init__.py
we see three lines:
if conf.get("logging") or False:
...
no_cache = conf.developer_mode or False
..
return flags.mute_emails or cint(conf.get("mute_emails") or 0) or False
I see that if the first condition(s) is falsey, the or False will force the expression to be boolean False.
Why is this necessary?
is it possible to drop or False?
Is this a nice technique? if so, what is the purpose? Thanks