From 6a5ca17a33e3f0ac69dfa4048dc7b5e337ec60b3 Mon Sep 17 00:00:00 2001 From: Ian Burgwin Date: Sat, 2 Apr 2022 11:28:54 -0700 Subject: [PATCH] custominstall: fix --seeddb by loading it earlier --- custominstall.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custominstall.py b/custominstall.py index 3bf3009..04a039c 100644 --- a/custominstall.py +++ b/custominstall.py @@ -249,6 +249,9 @@ class CustomInstall: return reader def prepare_titles(self, paths: 'List[PathLike]'): + if self.seeddb: + load_seeddb(self.seeddb) + readers = [] for path in paths: self.log(f'Reading {path}') @@ -378,9 +381,6 @@ class CustomInstall: self.log(l) return None, False, 0 - if self.seeddb: - load_seeddb(self.seeddb) - install_state = {'installed': [], 'failed': []} # Now loop through all provided cia files