zeroflag / punyforth

Forth inspired programming language for the ESP8266
Other
412 stars 43 forks source link

Fix NameError when raising argparse.ArgumentTypeError #56

Closed larsks closed 4 years ago

larsks commented 4 years ago

The CommandLine.to_bool method (in arch/esp8266/bin/flash.py) attempts to raise argparse.ArgumentTypeError, but the code doesn't actually import the argparse module.

zeroflag commented 4 years ago

thanks, good catch