finished lightning module

This commit is contained in:
William Falcon
2020-01-21 14:03:54 -05:00
parent 5e38ab259e
commit 8258d9c1c2
+1 -1
View File
@@ -1228,13 +1228,13 @@ def convert(val):
constructors = [int, float, str]
if type(val) is str:
if val.lower() == 'true':
return True
if val.lower() == 'false':
return False
for c in constructors:
try:
return c(val)
except ValueError: