From f70bae058083f2dd46106fd5e405b5f1ca57b42f Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Wed, 28 Sep 2016 23:07:59 +0200 Subject: [PATCH] Tagesschau-EIL: Richtiger Fix --- otouto/plugins/tagesschau_eil.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/otouto/plugins/tagesschau_eil.lua b/otouto/plugins/tagesschau_eil.lua index 4a4197c..bd38f00 100644 --- a/otouto/plugins/tagesschau_eil.lua +++ b/otouto/plugins/tagesschau_eil.lua @@ -81,6 +81,7 @@ function tagesschau_eil:cron() if code ~= 200 then return end local data = json.decode(res) if not data then return end + if data == "error" then return end if data.error then return end if data.breakingnews[1] then if data.breakingnews[1].date ~= last_eil then