Skip to content

Commit

Permalink
Fixed improper handling of string arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmwright committed Feb 10, 2024
1 parent 04cda27 commit dca4654
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cq_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,8 @@ def main():
)
elif "." in op1:
op = float(opt_parts[1])
elif '"' in op1 or "'" in op1:
op = str(opt_parts[1])
else:
op = int(opt_parts[1])

Expand Down

0 comments on commit dca4654

Please sign in to comment.