api/info/status cleanup

This commit is contained in:
peteruithoven 2014-02-28 10:44:02 +01:00
parent 9f50ec73b3
commit c0a3747d00
1 changed files with 1 additions and 5 deletions

View File

@ -171,11 +171,7 @@ end
function M.status(request, response)
local ds = wifi.getDeviceState()
log:debug(" ssid: "..utils.dump(ds.ssid))
local rv
rv, state = printerAPI.state(request, response)
local rv, state = printerAPI.state(request, response)
if(rv == false) then return end
if(state ~= "disconnected") then