Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
NGnius committed Apr 26, 2022
2 parents be02620 + d42d95b commit 2bfd0e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2bfd0e5

Please sign in to comment.