mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 08:08:53 +08:00
Fixed issue with binary files in windows, http://www.lua.org/pil/21.2.2.html
This commit is contained in:
parent
77cd612f15
commit
4c367827b5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue