diff --git a/wires.lua b/wires.lua index 88c2db7..590136b 100644 --- a/wires.lua +++ b/wires.lua @@ -47,6 +47,7 @@ local BBCUKSCR = [[ parser:parse(wireGatherData) --if i == 1 then print(inspect(handler)) end + if handler.root.rss == nil then return end local wireGatherTable = handler.root.rss.channel.item local wireData = handler.root.rss.channel @@ -86,4 +87,4 @@ function wires.Update(dt) end end -return wires \ No newline at end of file +return wires