Update Stations class

This commit is contained in:
Christer Warén 2021-11-29 14:03:19 +02:00
parent eb131a405f
commit d7587f4d71

View File

@ -34,7 +34,7 @@ module.exports = class Stations extends Array {
this.logger('Stations', 'Fetching list failed');
console.error(error + "\n");
this.fetch(options);
if(this.length == 0) this.fetch(options);
}
}