From 3e4c70ece2741bf66a6581360b12e848bb26a119 Mon Sep 17 00:00:00 2001 From: derrod Date: Mon, 20 Dec 2021 23:15:47 +0100 Subject: [PATCH] [core] Only use installed manifest for repair if it actually exists Fixes #380 --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index 9132a88..46ae3f1 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -1205,7 +1205,7 @@ class LegendaryCore: self.log.info(f'Install path: {install_path}') if repair: - if not repair_use_latest: + if not repair_use_latest and old_manifest: # use installed manifest for repairs instead of updating new_manifest = old_manifest old_manifest = None