From 992c157d3a7313f5cb605e04a9609ef24a282f6f Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Thu, 17 Nov 2016 17:21:31 -0600 Subject: [PATCH] error correction --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index d5ec142..492b66c 100755 --- a/hblink.py +++ b/hblink.py @@ -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')