Skip to content

Commit

Permalink
fix for invalid col value
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjonbrazil committed Nov 24, 2023
1 parent 4820668 commit c90d91d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions jtbl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,11 @@ def main():

if arg.startswith('--'):
if '=' in arg:
k, v = arg[2:].split('=')
long_options[k] = int(v)
try:
k, v = arg[2:].split('=')
long_options[k] = int(v)
except Exception:
helptext()
else:
long_options[arg[2:]] = None

Expand Down

0 comments on commit c90d91d

Please sign in to comment.