Add function for audit

This commit is contained in:
Heuze Florent 2021-02-09 15:21:39 +01:00
parent 385177c61e
commit 6d9ba1729c
1 changed files with 0 additions and 1 deletions

View File

@ -155,7 +155,6 @@ def audit():
if not registry_readstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird\%s' % reg):
print(r'Warning : SOFTWARE\Policies\Mozilla\Thunderbird\%s is missing !' % reg)
return "WARNING"
value = registry_readstring(HKEY_LOCAL_MACHINE, r'SOFTWARE\Policies\Mozilla\Thunderbird\%s' % reg)
if value != "1" :
print("Warning : Thunderbird update is not disable !")