mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update scripts/commands/epg/grab.ts
Co-authored-by: Ismaël Moret <30985701+BellezaEmporium@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
296b47db4d
commit
581120287c
@@ -109,7 +109,7 @@ async function main() {
|
||||
channelsFromXML = channelsFromXML.filter((channel: Channel) => {
|
||||
if (!options.lang) return true
|
||||
|
||||
return options.lang.includes(channel.lang)
|
||||
return channel.lang ? options.lang.includes(channel.lang) : false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user