Update parser.js

This commit is contained in:
Aleksandr Statciuk 2022-03-04 00:39:00 +03:00
parent 9a9b8ba52f
commit 4e3c687e73

View file

@ -4,11 +4,10 @@ const grabber = require('epg-grabber')
const parser = {} const parser = {}
parser.parseChannels = async function(filepath) { parser.parseChannels = async function (filepath) {
const content = await file.read(filepath) const content = await file.read(filepath)
const channels = grabber.parseChannels(content)
return channels return grabber.parseChannels(content)
} }
parser.parseLogs = async function (filepath) { parser.parseLogs = async function (filepath) {