mirror of
https://github.com/dkmstr/openuds.git
synced 2025-01-07 17:17:55 +03:00
Initializing new uds actor
This commit is contained in:
parent
c7dc116980
commit
37229e92e7
@ -26,7 +26,6 @@
|
|||||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
# 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
|
# 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.
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
'''
|
'''
|
||||||
@author: Adolfo Gómez, dkmaster at dkmon dot com
|
@author: Adolfo Gómez, dkmaster at dkmon dot com
|
||||||
'''
|
'''
|
||||||
@ -34,11 +33,12 @@ import sys
|
|||||||
import os
|
import os
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
import PyQt5 # pylint: disable=unused-import
|
||||||
from PyQt5.QtWidgets import QApplication, QDialog
|
from PyQt5.QtWidgets import QApplication, QDialog
|
||||||
|
|
||||||
from ui.setup_dialog_ui import Ui_UdsActorSetupDialog
|
from ui.setup_dialog_ui import Ui_UdsActorSetupDialog
|
||||||
|
|
||||||
|
# pylint: disable=invalid-name
|
||||||
|
|
||||||
logger = logging.getLogger('actor')
|
logger = logging.getLogger('actor')
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ class UDSConfigDialog(QDialog):
|
|||||||
'host': self.ui.host.text(),
|
'host': self.ui.host.text(),
|
||||||
'username': self.ui.username.text(),
|
'username': self.ui.username.text(),
|
||||||
'password': self.ui.password.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
|
'logLevel': (self.ui.logLevelComboBox.currentIndex() + 1) * 10000
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user