From 694a275dac3ff3eb48ca724e0aa8118ad9568654 Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 3 Dec 2021 18:08:21 +0100 Subject: [PATCH] [core] Fix platform linking warning --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index fd14d0b..b4b5d04 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -1358,7 +1358,7 @@ class LegendaryCore: # check if the game requires linking to an external account first partner_link = game.metadata.get('customAttributes', {}).get('partnerLinkType', {}).get('value', None) - if partner_link != 'ubisoft': + if partner_link and partner_link != 'ubisoft': results.warnings.add(f'This game requires linking to "{partner_link}", ' f'this is currently unsupported and the game may not work.')