Skip to content

Commit

Permalink
Update pytao/util/parsers.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ken Lauer <[email protected]>
  • Loading branch information
ChristopherMayes and ken-lauer authored Jun 24, 2024
1 parent cd9fe8c commit c5b4efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytao/util/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def parse_data_d_array(lines):
result.append(d)
vals = line.split(';')
for name, typ, val in zip(DATA_D_COLS, DATA_D_TYPES, vals):
if typ == bool:
if typ is bool:
val = _parse_str_bool(val)
else:
val = typ(val)
Expand Down

0 comments on commit c5b4efe

Please sign in to comment.