Tagesschau-EIL: Hotfix

This commit is contained in:
Andreas Bielawski 2016-09-19 01:39:56 +02:00
parent 43e2c54862
commit 4f10daba3e
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function tagesschau_eil:cron()
if data.breakingnews[1] then
if data.breakingnews[1].date ~= last_eil then
local title = '#EIL: <b>'..data.breakingnews[1].headline..'</b>'
local news = data.breakingnews[1].shorttext
local news = data.breakingnews[1].shorttext or ''
local posted_at = makeOurDate(data.breakingnews[1].date)..' Uhr'
local post_url = string.gsub(data.breakingnews[1].details, '/api/', '/')
local post_url = string.gsub(post_url, '.json', '.html')