fix: wrong paramname

This commit is contained in:
iceman1001 2020-04-05 17:00:16 +02:00
commit 0263273ec3
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ copyright = ''
author = 'Iceman' author = 'Iceman'
version = 'v1.0.2' version = 'v1.0.2'
desc =[[ desc =[[
This script takes an dumpfile on EML (ASCII) format and converts it to the PM3 dumpbin file to be used with `hf mf restore` This script takes an dumpfile in EML (ASCII) format and converts it to the PM3 dumpbin file to be used with `hf mf restore`
]] ]]
example =[[ example =[[
1. script run emul2dump 1. script run emul2dump
@ -25,7 +25,7 @@ arguments = [[
]] ]]
--- ---
-- This is only meant to be used when errors occur -- This is only meant to be used when errors occur
local function dbg(err) local function dbg(args)
if not DEBUG then return end if not DEBUG then return end
if type(args) == 'table' then if type(args) == 'table' then
local i = 1 local i = 1

View file

@ -19,7 +19,7 @@ arguments = [[
]] ]]
--- ---
-- This is only meant to be used when errors occur -- This is only meant to be used when errors occur
local function dbg(err) local function dbg(args)
if not DEBUG then return end if not DEBUG then return end
if type(args) == 'table' then if type(args) == 'table' then
local i = 1 local i = 1