ws.close() should be ws.end() so that it saves the xmltv correctly
This commit is contained in:
parent
373dba8998
commit
beade52dd0
@ -37,7 +37,7 @@ function WriteXMLTV(channels, xmlSettings) {
|
||||
_writeDocEnd(xw, ws)
|
||||
}).catch( (err) => {
|
||||
console.error("Error", err);
|
||||
}).then( () => ws.close() );
|
||||
}).then( () => ws.end() );
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user