This PR fixes the following crash that occurs when attempting to set the fan mode:
Traceback (most recent call last):
File "[path/to/OFC]/OpenFreezeCenter-Lite.py", line 157, in <module>
function()
File "[path/to/OFC]/OpenFreezeCenter-Lite.py", line 117, in function
set_fan_mode()
File "[path/to/OFC]/OpenFreezeCenter-Lite.py", line 67, in set_fan_mode
config_writer(PROFILE = 1)
TypeError: config_writer() got an unexpected keyword argument 'PROFILE'
by setting config.PROFILE instead of passing it as an argument to config_writer() (which doesn't expect any args).
This PR fixes the following crash that occurs when attempting to set the fan mode:
by setting
config.PROFILE
instead of passing it as an argument toconfig_writer()
(which doesn't expect any args).