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

Changed request method for ScrollSysvolDC

This commit is contained in:
Valery Sinelnikov 2023-11-21 17:46:49 +04:00
parent 1ccc18a31f
commit 11b33dd148

View File

@ -335,8 +335,8 @@ def transform_windows_path(text):
def check_scroll_enabled():
storage = registry_factory()
enable_scroll = 'Software\\BaseALT\\Policies\\GPUpdate\\ScrollSysvolDC'
if storage.get_hklm_entry(enable_scroll):
enable_scroll = '/Software/BaseALT/Policies/GPUpdate/ScrollSysvolDC'
if storage.get_key_value(enable_scroll):
data = storage.get_hklm_entry(enable_scroll).data
return bool(int(data))
else: