auto-cpufreq/auto_cpufreq
Lab Rat c34e3e7fbd
Fix bug related to repeated sudo prompt due to set_override calls (#531)
set_override method is now called only if force flag is invoked.

Here are the specific code changes made:

In auto_cpufreq/core.py:
- Line 96: Removed the root_check call from the set_override function.
           This was intended to be done to comply with code template,
           i.e., to use root_check in the main file.

In bin/auto-cpufreq:
- Line 45: Added a root_check call before calling set_override in main program.
           Also, set_override is only called if force option is invoked, saving
           us from precious extra overheads.

Fixes #530
2023-06-30 08:37:19 +02:00
..
__init__.py Improved Python file structure (rename source > auto_cpufreq) #153 2021-01-21 07:55:23 +01:00
core.py Fix bug related to repeated sudo prompt due to set_override calls (#531) 2023-06-30 08:37:19 +02:00
power_helper.py fix uncaught error in checking for snap 2023-02-03 14:48:01 -06:00
tlp_stat_parser.py Reformatted codebase (#325) 2021-12-22 08:28:08 +01:00