mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2026-04-24 20:56:11 +02:00
beautify compatibility list
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user