From cc5c7a90b8ac4f0e67dadbddc27773aa3c169eb5 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 5 Jan 2022 14:28:31 +0100 Subject: [PATCH] [cli] Check CX version against list rather than string --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 3f94cb5..1a04c05 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -2218,7 +2218,7 @@ class LegendaryCLI: logger.info('Checking available bottles...') available_bottles = self.core.get_available_bottles() - usable_bottles = [b for b in available_bottles if b['cx_version'] == cx_version] + usable_bottles = [b for b in available_bottles if cx_version in b['cx_versions']] logger.info(f'Found {len(usable_bottles)} bottle(s) usable with the selected CrossOver version. ' f'(Total: {len(available_bottles)})')