mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
parent
d842780c73
commit
ace9ce8b5d
|
@ -261,6 +261,10 @@ class LegendaryCore:
|
||||||
|
|
||||||
def get_dlc_for_game(self, app_name):
|
def get_dlc_for_game(self, app_name):
|
||||||
game = self.get_game(app_name)
|
game = self.get_game(app_name)
|
||||||
|
if not game:
|
||||||
|
self.log.warning(f'Metadata for {app_name} is missing!')
|
||||||
|
return []
|
||||||
|
|
||||||
if game.is_dlc: # dlc shouldn't have DLC
|
if game.is_dlc: # dlc shouldn't have DLC
|
||||||
return []
|
return []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue