Merge branch 'dev'
This commit is contained in:
commit
2bfd0e5cce
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -104,7 +104,7 @@ def status_cpu(cpu_number: int) -> bool:
|
|||
|
||||
def read_scaling_governor_cpu(cpu_number: int) -> str:
|
||||
filepath = cpu_governor_scaling_path(cpu_number)
|
||||
return read_from_sys(filepath, amount=-1).trim()
|
||||
return read_from_sys(filepath, amount=-1).strip()
|
||||
|
||||
def write_scaling_governor_cpu(cpu_number: int, governor: str):
|
||||
filepath = cpu_governor_scaling_path(cpu_number)
|
||||
|
|
Loading…
Reference in a new issue