修改一些BUG

This commit is contained in:
sugood
2020-11-13 16:37:47 +08:00
parent 5549cd7705
commit b2fbf43837
2 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ end
--复制文件
function copyFile(source,destination)
print(destination)
sourcefile = io.open(source, "r")
destinationfile = io.open(destination, "w")
local sourcefile = io.open(source, "r")
local destinationfile = io.open(destination, "w")
destinationfile:write(sourcefile:read("*all"))
sourcefile:close()
destinationfile:close()