GuidanceOfGrace / CLASSIC-Fallout4

Crash Log Auto-Scanner & Setup Integrity Checker for Fallout 4 / Buffout 4. Tool that extensively scans Fallout 4 game & mod files and Buffout 4 crash logs, then provides troubleshooting advice depending on what it finds.
8 stars 4 forks source link

Small things to placate VSCode's linter and fix GUI configuration. #21

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

Fixed typo with except statement for MissingSectionHeaderError exception. Add some #type: ignore statements for things that VSCode can't wrap its head around. Add an isinstance(info.Game_Path, str) check to the CK Fixes check so that VSCode doesn't throw a fit over an edge case (what I was really trying to fix with the previous PR).

evildarkarchon commented 1 year ago

Changed the GUI script to use the Scan_Crashlogs module's instance of CLAS_config instead of making a new one to keep them in sync. This should fix the issue with the GUI not respecting configuration changes until after the first scan (or on restart for some people).