do not print intent file path if file == nil

pull/4442/head
Martín Fernández 5 years ago committed by Frans de Jonge
parent 236724ef3e
commit dbea29b139

@ -29,7 +29,10 @@ local file = A.jni:context(A.app.activity.vm, function(JNI)
return JNI:to_string(path)
end
end)
A.LOGI("intent file path " .. (file or ""))
if file ~= nil then
A.LOGI("intent file path " .. file)
end
-- update koreader from ota
local function update()

Loading…
Cancel
Save