CHG: just made sure it uses a default file name now.
This commit is contained in:
@@ -37,9 +37,7 @@ local Utils =
|
|||||||
------------ FILE READING
|
------------ FILE READING
|
||||||
ReadDumpFile = function (filename)
|
ReadDumpFile = function (filename)
|
||||||
|
|
||||||
if filename == nil then
|
filename = filename or 'dumpdata.bin'
|
||||||
return nil, 'Filename is empty'
|
|
||||||
end
|
|
||||||
if #filename == 0 then
|
if #filename == 0 then
|
||||||
return nil, 'Filename length is zero'
|
return nil, 'Filename length is zero'
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user