1
0
mirror of https://github.com/altlinux/gpupdate.git synced 2025-08-14 21:49:27 +03:00

chromium_applier: Homepage retrieval fix (reported by ekorneechev@basealt.ru)

This commit is contained in:
2020-01-30 15:40:04 +04:00
parent d0bf345554
commit 9e397770c3

View File

@ -101,7 +101,11 @@ class chromium_applier(applier_frontend):
logging.info(slogm('Set user ({}) property \'{}\' to {}'.format(self.username, name, obj)))
def get_home_page(self, hkcu=False):
return self.get_hklm_string_entry('HomepageLocation')
response = self.get_hklm_string_entry('HomepageLocation')
result = 'about:blank'
if response:
result = response.data
return result
def machine_apply(self):
'''