Skip to content
Snippets Groups Projects
Commit ccc22d53 authored by Samuel GAIST's avatar Samuel GAIST Committed by Flavio TARSETTI
Browse files

[common][__init__] Pre-commit cleanup

parent 4ca23aa6
No related branches found
No related tags found
2 merge requests!349Cleanup common,!342Django 3 migration
......@@ -25,4 +25,6 @@
# #
###############################################################################
is_true = lambda value: bool(value) and value.lower() not in ('false', '0')
def is_true(value):
return bool(value) and value.lower() not in ["false", "0"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment