1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

syntax fixes

This commit is contained in:
Adolfo Gómez García 2016-04-13 21:32:42 -07:00
parent 9cd7e2f67b
commit 268e9d551a

View File

@ -208,7 +208,7 @@ def approveHost(host, parentWindow=None):
approved = settings.value(host, False).toBool()
errorString = '<p>The host <b>{}</b> needs to be approve:</p>'.format(host)
errorString = '<p>The server <b>{}</b> must be approved:</p>'.format(host)
errorString += '<p>Only approve UDS servers that you trust to avoid security issues.</p>'
if approved or QtGui.QMessageBox.warning(parentWindow, 'ACCESS Warning', errorString, QtGui.QMessageBox.Yes | QtGui.QMessageBox.No) == QtGui.QMessageBox.Yes: