kopia lustrzana https://gitlab.com/gridtracker.org/gridtracker
eslint fixes
rodzic
7ecf3a0252
commit
1ff1687c9f
|
@ -70,9 +70,9 @@ function onAdiLoadComplete(adiBuffer, saveAdifFile, adifFileName, newFile)
|
|||
let eQSLfile = false;
|
||||
|
||||
if (rawAdiBuffer.indexOf("PSKReporter") > -1) activeAdifLogMode = false;
|
||||
|
||||
|
||||
if (rawAdiBuffer.indexOf("Received eQSLs") > -1) eQSLfile = true;
|
||||
|
||||
|
||||
if (rawAdiBuffer.length > 1)
|
||||
{
|
||||
let regex = new RegExp("<EOR>", "i");
|
||||
|
|
|
@ -15870,13 +15870,13 @@ function mediaCheck()
|
|||
|
||||
// Old log filename, no longer referenced
|
||||
tryToDeleteLog("lotw.adif");
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
if (fs.existsSync(g_NWappData + "internal_qso.json"))
|
||||
{
|
||||
var data = JSON.parse(fs.readFileSync(g_NWappData + "internal_qso.json"));
|
||||
|
||||
|
||||
g_tracker = data.tracker;
|
||||
|
||||
if (typeof g_tracker.worked.px == "undefined")
|
||||
|
@ -15901,12 +15901,12 @@ function mediaCheck()
|
|||
g_QSOcount++;
|
||||
if (g_QSOhash[i].confirmed) g_QSLcount++;
|
||||
}
|
||||
|
||||
|
||||
fs.unlinkSync(g_NWappData + "internal_qso.json");
|
||||
}
|
||||
loadReceptionReports();
|
||||
}
|
||||
catch (e)
|
||||
catch (e)
|
||||
{
|
||||
clearLogFilesAndCounts();
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue