mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
Remove useless call to lower()
'0'.lower() == '0'
This commit is contained in:
co-authored by
GitHub
parent
5706146f18
commit
78d99ff330
@@ -18,7 +18,7 @@ _logger = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
def is_true(strval):
|
def is_true(strval):
|
||||||
return bool(strtobool(strval or '0'.lower()))
|
return bool(strtobool(strval or '0'))
|
||||||
|
|
||||||
|
|
||||||
PlatformConfig = namedtuple(
|
PlatformConfig = namedtuple(
|
||||||
|
|||||||
Reference in New Issue
Block a user