mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Adapted check_enable_home_link to work with the new storage
This commit is contained in:
parent
400a5fab7d
commit
1ab8c7aee0
@ -222,7 +222,7 @@ class cifs_applier_user(applier_frontend):
|
||||
def check_enable_home_link(self, enable_home_link):
|
||||
if self.storage.get_hkcu_entry(self.sid, enable_home_link):
|
||||
data = self.storage.get_hkcu_entry(self.sid, enable_home_link).data
|
||||
return bool(int(data))
|
||||
return bool(int(data)) if data else None
|
||||
else:
|
||||
return False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user