修复控制台print命令输入非文件报错 close #124

This commit is contained in:
MrZ626
2021-07-16 16:54:48 +08:00
parent 6afaf462f8
commit 9abf7bb45b

View File

@@ -277,7 +277,7 @@ local commands={}do
end
log{COLOR.lC,"/* END */"}
else
log("Unprintable item: %s (%s)"):format(name,info.type)
log{C.R,("Unprintable item: %s (%s)"):format(name,info.type)}
end
else
log{C.R,("No file called '%s'"):format(name)}