fix lint warning

master
Gordon Williams 2021-02-03 10:27:48 +00:00
parent 3c72f3674a
commit 440af3ab05
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function viewLog(n) {
E.showMessage("Loading...");
var f = require("Storage").open(getFileName(n), "r");
var records = 0, l = "", ll="";
while (l=f.readLine()) {records++;ll=l};
while ((l=f.readLine())!==undefined) {records++;ll=l;}
var length = 0;
if (ll) length = (ll.split(",")[0]|0)/1000;