Add function for audit

master
Heuze Florent 4 years ago
parent 385177c61e
commit 6d9ba1729c
  1. 1
      setup.py

@ -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 !")

Loading…
Cancel
Save