Skip to content

Commit

Permalink
Fixed default config errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Sanchez committed Sep 4, 2014
1 parent 966a1ae commit 97e9673
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions HeadersAnalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,19 +105,19 @@ def extensionLoaded(self):

print "Extension settings restored!"
except:
self.interestingHeadersCB.setSelected(True)
self.securityHeadersCB.setSelected(True)
self.xFrameOptionsCB.setSelected(True)
self.xContentTypeOptionsCB.setSelected(True)
self.xXssProtectionCB.setSelected(True)
self.HstsCB.setSelected(True)
self.CorsCB.setSelected(True)
self.contentSecurityPolicyCB.setSelected(True)
self.xPermittedCrossDomainPoliciesCB.setSelected(True)
empty = []
self.boringHeadersList.setListData(empty)
print "Error restoring extension settings (first time loading the extension?)"
self.interestingHeadersCB.setSelected(True)
self.securityHeadersCB.setSelected(True)
self.xFrameOptionsCB.setSelected(True)
self.xContentTypeOptionsCB.setSelected(True)
self.xXssProtectionCB.setSelected(True)
self.HstsCB.setSelected(True)
self.CorsCB.setSelected(True)
self.contentSecurityPolicyCB.setSelected(True)
self.xPermittedCrossDomainPoliciesCB.setSelected(True)
empty = []
self.boringHeadersList.setListData(empty)

print "Error restoring extension settings (first time loading the extension?)"

def initGui(self):

Expand Down

0 comments on commit 97e9673

Please sign in to comment.