IM3S / LDAR_Sim

MIT License
2 stars 0 forks source link

Uses sys.exit to crash the program #135

Closed tbarchyn closed 2 years ago

tbarchyn commented 2 years ago

This is a small change (possibly with big implications) - I don't want to break anything so making this a PR.

sys.exit() here should crash the program with no input arguments, after outputting the message that nothing was supplied.

The problem is that it will proceed with exit and fail deeper in the code in what looks like a bug, but actually was just there was no inputs supplied.