From 25107a326164edbd6547c16de562cdd455f86f02 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 18 Jan 2014 01:42:07 -0500 Subject: scripts: Allow encodeint.py to take integers in hex notation. Signed-off-by: Kevin O'Connor --- scripts/encodeint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/encodeint.py b/scripts/encodeint.py index 12be5fe..0d34aee 100755 --- a/scripts/encodeint.py +++ b/scripts/encodeint.py @@ -10,7 +10,7 @@ import struct def main(): filename = sys.argv[1] - value = int(sys.argv[2]) + value = int(sys.argv[2], 0) outval = struct.pack('