From: Lars Kruse Date: Sat, 7 Apr 2018 16:05:51 +0000 (+0200) Subject: luci-app-olsr: handle empty result for non-status tables X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7863ff72724bbb84831d595ef60405072713c379;hp=7863ff72724bbb84831d595ef60405072713c379;p=oweals%2Fluci.git luci-app-olsr: handle empty result for non-status tables The response of the jsoninfo request may be non-empty (e.g. a linebreak or just whitespace), but still yield "nil" after "json.decode". This situation was already handled for the "status" request, but it leads to a dictionary access against a "nil" value for all other tables. Signed-off-by: Lars Kruse ---