0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-12-22 19:13:49 +01:00

using file size instead of file to check isBusy

This commit is contained in:
peteruithoven 2013-08-16 19:26:23 +02:00
parent 2261efcb74
commit 9ae54ecd8d

View File

@ -127,7 +127,7 @@ local function isBusy(printerPath)
local size = utils.fileSize(f)
f:close()
return f > 0
return size > 0
end