From d60486d67a90990c9440c5c49dbfa71c00ea07fa Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 31 May 2024 17:35:17 +0300 Subject: [PATCH] Updated dictionary Signed-off-by: Dimitris Zlatanidis --- slpkg/upgrade.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) }