laktak / extrakto

extrakto for tmux - quickly select, copy/insert/complete text without a mouse
MIT License
878 stars 45 forks source link

extrakto.py: fix type for --min-length command line argument #66

Closed atomicstack closed 3 years ago

atomicstack commented 3 years ago

By default, ArgumentParser returns a string; however, in the case of --min-length, an integer is the type that is needed.

The original behaviour resulted in a TypeError exception: TypeError: '>=' not supported between instances of 'int' and 'str'

laktak commented 3 years ago

Thank you for catching that!