forked from shaba/openuds
Fixed texts for client
This commit is contained in:
parent
655a6447ba
commit
109783a430
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user