Skip to content

Commit e8a14be

Browse files
committed
Fix bool casting
1 parent e0fd454 commit e8a14be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

singlestoredb/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def cast_bool_param(val: Any) -> bool:
9696
if val.lower() in ['on', 't', 'true', 'y', 'yes', 'enabled', 'enable']:
9797
return True
9898
elif val.lower() in ['off', 'f', 'false', 'n', 'no', 'disabled', 'disable']:
99-
return True
99+
return False
100100

101101
raise ValueError('Unrecognized value for bool: {}'.format(val))
102102

0 commit comments

Comments
 (0)