i think i have something working

This commit is contained in:
brent s
2019-09-20 12:55:13 -04:00
parent 78254a5970
commit 0695b86add
10 changed files with 513 additions and 228 deletions

9
ARB/arb_util.py Normal file
View File

@@ -0,0 +1,9 @@
def xmlBool(xmlobj):
if isinstance(xmlobj, bool):
return (xmlobj)
if xmlobj.lower() in ('1', 'true'):
return(True)
elif xmlobj.lower() in ('0', 'false'):
return(False)
else:
return(None)