Skip to content

Commit

Permalink
When setItem is used ensure it is always available via SystemInfo
Browse files Browse the repository at this point in the history
(cherry picked from commit 713f43e3abbcbc43f86f3e6acac0928406d716f8)
  • Loading branch information
Littlesat authored and teamblue-e2 committed Jan 4, 2024
1 parent 0545f23 commit 0ae7f66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/python/Components/SystemInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ def setItem(self, item, value, immutable=False, forceOverride=False):
boxInfoCollector = dict(self.boxInfo)
boxInfoCollector[item] = value
self.boxInfo = MappingProxyType(boxInfoCollector)
else:
self.boxInfoMutable[item] = value
self.boxInfoMutable[item] = value
return True

def deleteItem(self, item, forceOverride=False):
Expand Down

0 comments on commit 0ae7f66

Please sign in to comment.