From 97bcd533661076f7da0155fca1238625ed79b151 Mon Sep 17 00:00:00 2001 From: John Lehmann Date: Wed, 29 Jun 2016 23:55:01 +1000 Subject: [PATCH] Fix pretty_compile command --- serpent.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serpent.py b/serpent.py index 3b6d7ff..b373de6 100644 --- a/serpent.py +++ b/serpent.py @@ -235,5 +235,7 @@ def main(): print(json.dumps(json.loads(o))) elif cmd in ['mk_signature', 'get_prefix']: print(o) + elif cmd in ['pretty_compile']: + print(list(o)) else: print(binascii.b2a_hex(o).decode('ascii'))