diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index a0630ecf..fd8607dc 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -142,9 +142,9 @@ class Upgrade(Configs): # pylint: disable=[R0902] if self.upgrade_log_file.is_file(): log: dict = self.utils.read_json_file(self.upgrade_log_file) - log[self.repository]: dict = { - 'installed package': installed, - 'repository package': self.data[name]['package'], + log[installed]: dict = { + 'repository': installed, + 'package': self.data[name]['package'], 'error': str(err) }