Fixed texts for client

This commit is contained in:
Adolfo Gómez García 2021-06-25 13:26:56 +02:00
parent 655a6447ba
commit 109783a430

View File

@ -259,7 +259,7 @@ def sslError(hostname: str, serial):
or QtWidgets.QMessageBox.warning( or QtWidgets.QMessageBox.warning(
None, # type: ignore None, # type: ignore
'SSL Warning', 'SSL Warning',
f'Could not check sll certificate for {hostname}', f'Could not check SSL certificate for {hostname}.\nDo you trust this host?',
QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No, # type: ignore QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No, # type: ignore
) )
== QtWidgets.QMessageBox.Yes == QtWidgets.QMessageBox.Yes
@ -274,7 +274,7 @@ def sslError(hostname: str, serial):
# Used only if command line says so # Used only if command line says so
def minimal(api: RestApi, ticket: str, scrambler: str): def minimal(api: RestApi, ticket: str, scrambler: str):
try: try:
logger.info('M1 Execution') logger.info('Minimal Execution')
logger.debug('Getting version') logger.debug('Getting version')
try: try:
api.getVersion() api.getVersion()