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

Merge pull request #12 from altlinux/firefox_applier_fix

Fix for samba_preg access in firefox_applier
This commit is contained in:
NIR 2020-01-29 14:27:12 +04:00 committed by GitHub
commit 521125391b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ class firefox_applier(applier_frontend):
})
response = self.get_hklm_string_entry('Homepage\\URL')
if response:
homepage['URL'] = response
homepage['URL'] = response.data
return homepage
return None
@ -108,7 +108,7 @@ class firefox_applier(applier_frontend):
'''
response = self.get_hklm_string_entry('BlockAboutConfig')
if response:
if response.lower() in ['0', 'false', False, None, 'None']:
if response.data.lower() in ['0', 'false', False, None, 'None']:
return False
return True