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:
@ -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):
|
||||
'''
|
||||
|
Reference in New Issue
Block a user