ws.close() should be ws.end() so that it saves the xmltv correctly

This commit is contained in:
vexorian 2020-07-28 12:25:56 -04:00
parent 373dba8998
commit beade52dd0

View File

@ -37,7 +37,7 @@ function WriteXMLTV(channels, xmlSettings) {
_writeDocEnd(xw, ws)
}).catch( (err) => {
console.error("Error", err);
}).then( () => ws.close() );
}).then( () => ws.end() );
})
}