From aab2dbac9ea009acdddd19c8bd533e17404b3f53 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Sun, 6 May 2018 14:46:34 -0800 Subject: [PATCH] Add string output for guid --- exts/imports/utils.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/exts/imports/utils.py b/exts/imports/utils.py index 5bb16dd..069c614 100644 --- a/exts/imports/utils.py +++ b/exts/imports/utils.py @@ -87,11 +87,15 @@ async def run_command(args): def hex_to_char(a: int): a = a & 0xf - return str(a - 10 + 0x61 if a > 9 else a + 0x30) + out = str(a - 10 + 0x61 if a > 9 else a + 0x30) + print(out) + return out def hexs_to_chars(_a, _b): - return f'{hex_to_char(_a>>4)}{hex_to_char(_a)}{hex_to_char(_b>>4)}{hex_to_char(_b)}' + out = f'{hex_to_char(_a>>4)}{hex_to_char(_a)}{hex_to_char(_b>>4)}{hex_to_char(_b)}' + print(out) + return out def to_string(guid):