Skip to content

Commit 8a2ce5b

Browse files
committed
Fixup
1 parent 5a74197 commit 8a2ce5b

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

source/installer.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,9 @@ def registerInstallation(
259259
startOnLogonScreen: bool,
260260
configInLocalAppData: bool = False
261261
):
262-
calculatedUninstallerRegInfo = uninstallerRegInfo + {
263-
# EstimatedSize is in KiB
264-
"EstimatedSize": getDirectorySize(installDir) / 1024
265-
}
262+
calculatedUninstallerRegInfo = uninstallerRegInfo.copy()
263+
# EstimatedSize is in KiB
264+
calculatedUninstallerRegInfo.update(EstimatedSize=getDirectorySize(installDir) / 1024)
266265
with winreg.CreateKeyEx(
267266
winreg.HKEY_LOCAL_MACHINE,
268267
r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NVDA",

0 commit comments

Comments
 (0)