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:
parent
2261efcb74
commit
9ae54ecd8d
@ -127,7 +127,7 @@ local function isBusy(printerPath)
|
||||
local size = utils.fileSize(f)
|
||||
f:close()
|
||||
|
||||
return f > 0
|
||||
return size > 0
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user