Updated dictionary

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-31 17:35:17 +03:00
parent 2a3b50caa1
commit d60486d67a

View file

@ -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)
}