]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/lualibs/html_dumplib.lua
Fixed issue with binary files in windows, http://www.lua.org/pil/21.2.2.html
[proxmark3-svn] / client / lualibs / html_dumplib.lua
index 66a3e03784fab7023cf8432fc9675d19b9a99319..e730920c0dbc0b142fa35e015fe30ef220cf7253 100644 (file)
@@ -107,7 +107,7 @@ local function convert_bin_to_html(input, output, blockLen)
        blockLen = blockLen or 16
        output = output or input .. 'html'
 
-       local infile = io.open(input, "r")
+       local infile = io.open(input, "rb")
        if infile == nil then 
                return oops(string.format("Could not read file %s",tostring(input)))
        end
Impressum, Datenschutz