From 7a487014e41a6e716a0c12f497df3431dca7a095 Mon Sep 17 00:00:00 2001 From: Fbenas Date: Fri, 6 Nov 2020 01:13:58 +0000 Subject: Dont bother decoding and encoding, assume python3 does all this --- initialism.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initialism.py b/initialism.py index f94496b..5a47c55 100755 --- a/initialism.py +++ b/initialism.py @@ -38,9 +38,9 @@ def main(): print ('!initialism {0}'.format(VERSION)) sys.exit(0) - words = [word.decode('utf-8') for word in args] + words = [word for word in args] initialism = initialise(words) - print (initialism.encode('utf-8')) + print (initialism) if __name__ == '__main__': -- cgit v1.2.3