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
98 stars 28 forks source link

Logging Setup and dependency checking refactor #347

Closed hexabits closed 1 year ago

hexabits commented 1 year ago

Moves try/except and other logic out of imports areas for the GUI files. Imports not being a contiguous chunk leads to issues with IDEs using auto-import (they just add imports anywhere they see fit amongst the various logic). Putting most of the imports inside of a try block can also mess with typing.

There is now a single try/except inside auto_updater when the packages are checked for updates.