From 0610b07bf30c1b6f2dc2e99d4d4762112c85d7e6 Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 30 May 2020 00:48:54 +0200 Subject: [PATCH] [core] Do not attempt to fetch metadata if update_assets is not set --- legendary/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index 79812a0..084d3d9 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -194,7 +194,8 @@ class LegendaryCore: continue game = self.lgd.get_game_meta(ga.app_name) - if not game or (game and game.app_version != ga.build_version and not platform_override): + if update_assets and (not game or + (game and game.app_version != ga.build_version and not platform_override)): if game and game.app_version != ga.build_version and not platform_override: self.log.info(f'Updating meta for {game.app_name} due to build version mismatch')