hamsterchub / file_organizer

Little project I developed to help organize the misc files for my family PCs
0 stars 1 forks source link

Log file isn't getting created #17

Closed hamsterchub closed 1 week ago

hamsterchub commented 3 weeks ago

Yep :(

hamsterchub commented 1 week ago

The issue was a missing "not" qualifier at the beginning of the file handler logger function where it would always exit early after trying to create the logger directory UNLESS the OS call failed. This is backwards, since we should only leave the function early if the OS call failed. Fix was simple!

hamsterchub commented 1 week ago

See above