mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Small 2.2 fixes
This commit is contained in:
parent
752b84a17a
commit
ab8faf3ebb
@ -51,7 +51,7 @@ import requests
|
||||
import json
|
||||
import logging
|
||||
|
||||
__updated__ = '2017-11-17'
|
||||
__updated__ = '2018-02-16'
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
traceLogger = logging.getLogger('traceLog')
|
||||
@ -534,7 +534,9 @@ class UserServiceManager(object):
|
||||
|
||||
# If transport is not available for the request IP...
|
||||
if trans.validForIp(srcIp) is False:
|
||||
raise InvalidServiceException()
|
||||
msg = 'The requested transport {} is not valid for {}'.format(trans.name, srcIp)
|
||||
logger.error(msg)
|
||||
raise InvalidServiceException(msg)
|
||||
|
||||
if user is not None:
|
||||
userName = user.name
|
||||
|
@ -42,7 +42,7 @@ from uds.core.util import connection
|
||||
import logging
|
||||
import os
|
||||
|
||||
__updated__ = '2017-12-21'
|
||||
__updated__ = '2018-02-15'
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
@ -88,7 +88,7 @@ class BaseRDPTransport(Transport):
|
||||
colorDepth = gui.ChoiceField(
|
||||
label=_('Color depth'),
|
||||
order=31,
|
||||
tooltip=_('Color depth for this conextion'),
|
||||
tooltip=_('Color depth for this connection'),
|
||||
defvalue='24',
|
||||
values=[
|
||||
{'id': '8', 'text': '8' },
|
||||
|
Loading…
Reference in New Issue
Block a user