OpenNaja / cobra-tools

A suite of GUI tools for extracting and modifying OVL and OVS archives, as well as editing the associated in-house file formats. Also includes a model plugin for Blender. For downloads, guides, and FAQs visit:
https://opennaja.github.io/cobra-tools/
GNU General Public License v3.0
94 stars 27 forks source link

Remove error if running codegen.py from a IDE. #358

Closed Candoran2 closed 9 months ago

Candoran2 commented 9 months ago

When trying to run codegen.py from an IDE (Spyder, for me) it created an error. This fixed it. This is presumably because when running through a IDE, rather than the console, the site module which contains exit is not imported.