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

fix UnboundLocal error. #36

Closed evildarkarchon closed 1 year ago

evildarkarchon commented 1 year ago

The clas_log_errors function was raising an UnboundLocal exception because the logname variable was out of scope when the OSError exception was tripped, I added a logname variable declaration to the top of the for-loop to fix that.