Empty frequency list

This commit is contained in:
portree_kid 2020-03-18 20:59:43 +01:00
parent 1f6fc221f9
commit c2b0fe2a7b

View File

@ -65,6 +65,7 @@ exports.readGroundnetXML = function (fDir, icao, force) {
// <APPROACH>12120</APPROACH> // <APPROACH>12120</APPROACH>
// </frequencies> // </frequencies>
frequencies = [];
var approach = xml.find('groundnet/frequencies/APPROACH/text()').text(); var approach = xml.find('groundnet/frequencies/APPROACH/text()').text();
addFrequencies('APPROACH', approach); addFrequencies('APPROACH', approach);
var awos = xml.find('groundnet/frequencies/AWOS/text()').text(); var awos = xml.find('groundnet/frequencies/AWOS/text()').text();