From 67f884053975ab8ccfb7dcb4bf93fdffc7826ca3 Mon Sep 17 00:00:00 2001 From: Martinez Date: Fri, 22 Jan 2016 16:45:58 +0100 Subject: [PATCH] center ASCII in over.core.misc.hexdump --- core/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/misc.py b/core/misc.py index 0975e94..812f044 100644 --- a/core/misc.py +++ b/core/misc.py @@ -119,7 +119,7 @@ def hexdump(data, indent=0, offset=16, show_header=True, show_offsets=True, show line.append('%2x' %(i)) if show_ascii: - line.append(' ASCII') + line.append(' *{0}*'.format("ASCII".center(offset, "-"))) output_io.write(' '.join(line) + '\n')