Skip to content

Commit

Permalink
Changed CSV Lyout for vaccination
Browse files Browse the repository at this point in the history
  • Loading branch information
magic21nrw committed Sep 12, 2021
1 parent 45d2387 commit b37eec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MMM-COVID19-AMPEL.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Module.register("MMM-COVID19-AMPEL", {
this.globalVaccinations = payload;
var lines = this.globalVaccinations[this.globalVaccinations.length-1].split("\n");
var result = lines[lines.length-2].split("\t");
this.globalVaccinations = result[19]*100;
this.globalSecondVaccination = result[20]*100;
this.globalVaccinations = result[24]*100;
this.globalSecondVaccination = result[25]*100;
this.updateDom(self.config.fadeSpeed);
}
},
Expand Down

0 comments on commit b37eec8

Please sign in to comment.