From 869665af253a437c5b515c58eb6e1372cbd462c4 Mon Sep 17 00:00:00 2001 From: jaimergp Date: Wed, 3 Jul 2024 11:33:02 +0200 Subject: [PATCH] pre-commit --- menuinst/platforms/win_utils/registry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menuinst/platforms/win_utils/registry.py b/menuinst/platforms/win_utils/registry.py index fe04b598..1bf0f221 100644 --- a/menuinst/platforms/win_utils/registry.py +++ b/menuinst/platforms/win_utils/registry.py @@ -207,6 +207,6 @@ def regvalue(key, value, value_type=winreg.REG_SZ, raise_on_errors=True): def notify_shell_changes(): shell32 = ctypes.OleDLL('shell32') shell32.SHChangeNotify.restype = None - event = 0x08000000 # SHCNE_ASSOCCHANGED - flags = 0x0000 # SHCNF_IDLIST + event = 0x08000000 # SHCNE_ASSOCCHANGED + flags = 0x0000 # SHCNF_IDLIST shell32.SHChangeNotify(event, flags, None, None)