mirror of
https://github.com/bol-van/zapret2.git
synced 2026-10-29 14:09:23 +00:00
zapret-lib: fix error message
This commit is contained in:
1 parent
05647e84ef
commit
823f4a6fb6
1 file changed
+1
-1
+1
-1
@@ -1430,7 +1430,7 @@ end
|
||||
function is_gzip_file(filename)
|
||||
local f, err = io.open(filename, "r")
|
||||
if not f then
|
||||
error("gunzip_file: "..err)
|
||||
error("is_gzip_file: "..err)
|
||||
end
|
||||
local hdr = f:read(2)
|
||||
f:close()
|
||||
|
||||
Reference in new issue
Block a user