CHG: just made sure it uses a default file name now.

This commit is contained in:
iceman1001 2015-06-15 21:02:17 +02:00
parent d71d59dbd1
commit 553e868f25

View file

@ -37,9 +37,7 @@ local Utils =
------------ FILE READING
ReadDumpFile = function (filename)
if filename == nil then
return nil, 'Filename is empty'
end
filename = filename or 'dumpdata.bin'
if #filename == 0 then
return nil, 'Filename length is zero'
end