mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Fix platform linking warning
This commit is contained in:
parent
e11dd8734f
commit
694a275dac
|
@ -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.')
|
||||
|
||||
|
|
Loading…
Reference in a new issue