Update ccpt

changed outdated call io.close(f) to f.close()
This commit is contained in:
Hion-V 2022-06-19 01:47:03 +02:00 committed by GitHub
parent 695d4bd974
commit 423a714fff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
ccpt
View File

@ -26,7 +26,7 @@ removed = 0
function file_exists(filepath) function file_exists(filepath)
local f=io.open(filepath,"r") local f=io.open(filepath,"r")
if f~=nil then if f~=nil then
io.close(f) f.close()
return true return true
else else
return false return false