Skip to content

Commit

Permalink
cpuload@kimse: Fix NaN% on startup (#1208)
Browse files Browse the repository at this point in the history
* Fix cpuload NaN% values

* Bump version

* Closes #1205
  • Loading branch information
schorschii committed Jun 25, 2024
1 parent e9505f8 commit 7d6a4af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpuload@kimse/files/cpuload@kimse/desklet.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ CpuLoadDesklet.prototype = {
this.normal_font_size = 13;
this.has_previous_sample = false;

// Preload CPU activity data and setup the UI.
this.refreshCpuActivity(this.setupUI);
// Setup the UI
this.setupUI();
},

/**
Expand Down
2 changes: 1 addition & 1 deletion cpuload@kimse/files/cpuload@kimse/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"max-instances": "1",
"description": "Displays CPU load",
"name": "CPU Load",
"version": "0.7",
"version": "0.8",
"uuid": "cpuload@kimse"
}

0 comments on commit 7d6a4af

Please sign in to comment.