From cb0a179bc246ea045bf4b014e6fe347aaa3bab77 Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sun, 8 May 2022 18:17:00 +0300 Subject: [PATCH] Update editor.js --- scripts/commands/channels/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/commands/channels/editor.js b/scripts/commands/channels/editor.js index 94e37caf..82432924 100644 --- a/scripts/commands/channels/editor.js +++ b/scripts/commands/channels/editor.js @@ -17,10 +17,10 @@ let site let channels = [] async function main() { - await api.channels.load() let result = await parser.parseChannels(options.input) site = result.site channels = result.channels + await api.channels.load() for (const channel of channels) { if (channel.xmltv_id) continue let choices = await getOptions(channel)