mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +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
|
# check if the game requires linking to an external account first
|
||||||
partner_link = game.metadata.get('customAttributes', {}).get('partnerLinkType', {}).get('value', None)
|
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}", '
|
results.warnings.add(f'This game requires linking to "{partner_link}", '
|
||||||
f'this is currently unsupported and the game may not work.')
|
f'this is currently unsupported and the game may not work.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue