Bleachbit 0.8.8 + winapp2.ini dumps error because of faulty entry in winapp2.ini

Forums: 

a faulty entry in winapp2.ini causes a exception thrown by bleachbit.

Traceback (most recent call last):
File "bleachbit\Winapp.pyo", line 93, in __init__
File "bleachbit\Winapp.pyo", line 104, in handle_section
File "bleachbit\Windows.pyo", line 223, in detect_registry_key
File "bleachbit\Windows.pyo", line 403, in split_registry_key
RuntimeError: Invalid Windows registry hive 'HKCM'
Traceback (most recent call last):
File "bleachbit\Winapp.pyo", line 93, in __init__
File "bleachbit\Winapp.pyo", line 104, in handle_section
File "bleachbit\Windows.pyo", line 223, in detect_registry_key
File "bleachbit\Windows.pyo", line 403, in split_registry_key
RuntimeError: Invalid Windows registry hive 'HKCM'

The current winapp2.ini contains an error using HKCM as a glitch of HKey_Current_Machine??
This throws a bleachbit.exe.log containing the above.

I have reported the issue on the piriform forums, but maybe it's an idea to make the application verify the root hives on load of winapp2.ini to 'ignore' these errors?

Yes, I noticed this too, and earlier I notified the maintainers and pushed out a patch to my winapp2.ini, but it didn't stick. I just pushed out another one (plus some new cleaners), and tested it.

Right, in the future BleachBit could handle this more gracefully.

---
Andrew, lead developer