eric6/Preferences/ConfigurationPages/WebBrowserVirusTotalPage.py

changeset 8234
fcb6b4b96274
parent 8218
7c09585bd960
equal deleted inserted replaced
8233:bad78a592cc2 8234:fcb6b4b96274
72 Private slot to test the entered service key. 72 Private slot to test the entered service key.
73 """ 73 """
74 self.testResultLabel.setHidden(False) 74 self.testResultLabel.setHidden(False)
75 self.testResultLabel.setText( 75 self.testResultLabel.setText(
76 self.tr("Checking validity of the service key...")) 76 self.tr("Checking validity of the service key..."))
77 if self.vtSecureCheckBox.isChecked(): 77 protocol = "https" if self.vtSecureCheckBox.isChecked() else "http"
78 protocol = "https"
79 else:
80 protocol = "http"
81 self.__vt.checkServiceKeyValidity( 78 self.__vt.checkServiceKeyValidity(
82 self.vtServiceKeyEdit.text(), protocol) 79 self.vtServiceKeyEdit.text(), protocol)
83 80
84 @pyqtSlot(bool, str) 81 @pyqtSlot(bool, str)
85 def __checkServiceKeyFinished(self, result, msg): 82 def __checkServiceKeyFinished(self, result, msg):

eric ide

mercurial