From 0bd2faa7f71a128babc68afea053159ccb91b702 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Tue, 5 Nov 2019 17:17:07 -0600 Subject: [PATCH] beautify compatibility list --- jc/jc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jc/jc.py b/jc/jc.py index 1f7830cb..5a7161c4 100755 --- a/jc/jc.py +++ b/jc/jc.py @@ -84,7 +84,8 @@ def errormessage(message): def compatibility(mod_name, compatible): if sys.platform not in compatible: mod = mod_name.split('.')[-1] - errormessage(f'{mod} parser not compatible with your OS ({sys.platform}).\n Compatible platforms: {compatible}') + compat_list = ', '.join(compatible) + errormessage(f'{mod} parser not compatible with your OS ({sys.platform}).\n Compatible platforms: {compat_list}') exit()