From 4f10daba3efdd76da698a303adba0d1d4d6c5ec5 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Mon, 19 Sep 2016 01:39:56 +0200 Subject: [PATCH] Tagesschau-EIL: Hotfix --- otouto/plugins/tagesschau_eil.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/tagesschau_eil.lua b/otouto/plugins/tagesschau_eil.lua index ce4a62f..1347bcc 100644 --- a/otouto/plugins/tagesschau_eil.lua +++ b/otouto/plugins/tagesschau_eil.lua @@ -84,7 +84,7 @@ function tagesschau_eil:cron() if data.breakingnews[1] then if data.breakingnews[1].date ~= last_eil then local title = '#EIL: '..data.breakingnews[1].headline..'' - 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')