mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Only use installed manifest for repair if it actually exists
Fixes #380
This commit is contained in:
parent
c3ade2994e
commit
3e4c70ece2
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue