mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-23 08:27:51 +08:00
fix bad formatt string (thanks @vortix)
This commit is contained in:
parent
9b94422966
commit
2323ff7f57
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ end
|
|||
|
||||
_errorcodes.tostring = function(command)
|
||||
if(type(command) == 'string') then
|
||||
return ("%s (%d)"):format(_reverse_lookup[command] or "ERROR UNDEFINED!", command)
|
||||
return ("%s (%s)"):format(_reverse_lookup[command] or "ERROR UNDEFINED!", command)
|
||||
end
|
||||
if(type(command) == 'number') then
|
||||
return ("%s (%d)"):format(_reverse_lookup[ tostring(command)] or "ERROR UNDEFINED!", command)
|
||||
|
|
Loading…
Reference in a new issue