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

frontend/cifs_applier.py: added forgotten argument to get_hkcu_entry

This commit is contained in:
Valery Sinelnikov 2022-12-28 17:07:30 +04:00
parent 43c8031da5
commit f75c79cbeb

View File

@ -203,8 +203,8 @@ class cifs_applier_user(applier_frontend):
)
def check_enable_house_link(self, enable_house_link):
if self.storage.get_hkcu_entry(enable_house_link):
data = self.storage.get_hkcu_entry(enable_house_link).data
if self.storage.get_hkcu_entry(self.sid, enable_house_link):
data = self.storage.get_hkcu_entry(self.sid, enable_house_link).data
return bool(int(data))
else:
return False