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:
parent
1ccc18a31f
commit
11b33dd148
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user