error correction

This commit is contained in:
Cort Buffington 2016-11-17 17:21:31 -06:00
parent 3138de53c9
commit 992c157d3a
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ def hex_str_3(_int_id):
def hex_str_4(_int_id):
try:
#return hex(_int_id)[2:].rjust(8,'0').decode('hex')
format(_int_id,'x').rjust(8,'0').decode('hex')
return format(_int_id,'x').rjust(8,'0').decode('hex')
except TypeError:
logger.error('hex_str_4: invalid integer length')