Skip to content

Commit 4df9e17

Browse files
committed
fixes bug with bool parsing in datatypes.py
1 parent 109276f commit 4df9e17

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

iamspy/datatypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ def _arn(data):
7575

7676

7777
def _bool(data):
78-
if "true" == str(data.lower()):
78+
if "true" == str(data).lower():
7979
return z3.BoolVal(True)
80-
elif "false" == str(data.lower()):
80+
elif "false" == str(data).lower():
8181
return z3.BoolVal(False)
8282
else:
8383
raise TypeError(f"Invalid Bool: {data}")

0 commit comments

Comments
 (0)