1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-03-21 18:50:38 +03:00

Module enablement flag fix

This commit is contained in:
Игорь Чудов 2020-06-30 20:16:02 +04:00
parent 7a90f3c0e6
commit 3b258a5b71
Signed by untrusted user: nir
GPG Key ID: 0F3883600CAE7AAC

View File

@ -34,7 +34,7 @@ def check_experimental_enabled(storage):
def check_module_enabled(storage, module_name):
gpupdate_module_enable_branch = 'Software\\BaseALT\\Policies\\GPUpdate'
gpupdate_module_flag = '{}\\{}_enable'.format(gpupdate_module_enable_branch, module_name)
gpupdate_module_flag = '{}\\{}'.format(gpupdate_module_enable_branch, module_name)
flag = storage.get_hklm_entry(gpupdate_module_flag)
result = None