1
0
mirror of https://github.com/etesync/server synced 2025-07-02 21:32:34 +00:00
etesync-server/django_etebase/admin-cli/management/commands/_utils.py
2021-06-04 00:40:34 +02:00

6 lines
120 B
Python

from distutils.util import strtobool
def argbool(arg):
if arg == None: return None
return bool(strtobool(arg))