From 37229e92e73115aecd8662c6ba6350f3610b9814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez?= Date: Wed, 20 Nov 2019 02:11:28 +0100 Subject: [PATCH] Initializing new uds actor --- actor/src/UDSActorConfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actor/src/UDSActorConfig.py b/actor/src/UDSActorConfig.py index 92e7bd19..4f83b63f 100644 --- a/actor/src/UDSActorConfig.py +++ b/actor/src/UDSActorConfig.py @@ -26,7 +26,6 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - ''' @author: Adolfo Gómez, dkmaster at dkmon dot com ''' @@ -34,11 +33,12 @@ import sys import os import logging - +import PyQt5 # pylint: disable=unused-import from PyQt5.QtWidgets import QApplication, QDialog from ui.setup_dialog_ui import Ui_UdsActorSetupDialog +# pylint: disable=invalid-name logger = logging.getLogger('actor') @@ -57,7 +57,7 @@ class UDSConfigDialog(QDialog): 'host': self.ui.host.text(), 'username': self.ui.username.text(), 'password': self.ui.password.text(), - 'validateCertificate': self.ui.useSSl.currentIndex() == 1, + 'validateCertificate': self.ui.validateCertificate.currentIndex() == 1, 'logLevel': (self.ui.logLevelComboBox.currentIndex() + 1) * 10000 }