Tagesschau-EIL: Richtiger Fix

This commit is contained in:
Andreas Bielawski 2016-09-28 23:07:59 +02:00
parent e828e6235f
commit f70bae0580

View File

@ -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