mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-20 06:50:23 +03:00
Another small fix
This commit is contained in:
parent
320a530bbc
commit
de07a4f3cd
@ -106,6 +106,9 @@ class BaseSpiceTransport(Transport):
|
||||
|
||||
logger.debug('Connection data: {}'.format(con))
|
||||
|
||||
if con is None:
|
||||
return False
|
||||
|
||||
port, secure_port = con['port'], con['secure_port']
|
||||
port = -1 if port is None else port
|
||||
secure_port = -1 if secure_port is None else secure_port
|
||||
|
Loading…
x
Reference in New Issue
Block a user