fix to power display

This commit is contained in:
alu
2026-08-04 14:12:57 -07:00
parent 04b4f53092
commit b43b919333
4 changed files with 52 additions and 34 deletions
+4
View File
@@ -45,6 +45,10 @@ func GetProc() (Proc, error) {
proc.Info = map[string]string{}
scanner := bufio.NewScanner(procFile)
if scanner.Err() != nil {
return proc, scanner.Err()
}
for scanner.Scan() {
line := scanner.Text()
line = strings.ReplaceAll(line, "\t", "")