mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-13 08:58:35 +03:00
Spice cleans
This commit is contained in:
parent
c8df5de095
commit
cf0f6a0cce
@ -122,7 +122,7 @@ class TSPICETransport(BaseSpiceTransport):
|
||||
|
||||
try:
|
||||
userServiceInstance: typing.Any = userService.getInstance()
|
||||
con = userServiceInstance.getConsoleConnection()
|
||||
con: typing.Dict[str, typing.Any] = userServiceInstance.getConsoleConnection()
|
||||
except Exception:
|
||||
logger.exception('Error getting console connection data')
|
||||
raise
|
||||
@ -167,9 +167,9 @@ class TSPICETransport(BaseSpiceTransport):
|
||||
)
|
||||
|
||||
r = RemoteViewerFile(
|
||||
con.get('address'),
|
||||
con.get('port',),
|
||||
con.get('secure_port'),
|
||||
con.get('address', ''),
|
||||
con.get('port', ''),
|
||||
con.get('secure_port', ''),
|
||||
con['ticket']['value'], # password
|
||||
con.get('ca', self.serverCertificate.value.strip()),
|
||||
con['cert_subject'],
|
||||
|
Loading…
x
Reference in New Issue
Block a user