1
0
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:
Adolfo Gómez García 2017-03-28 15:20:23 +02:00
parent 320a530bbc
commit de07a4f3cd

View File

@ -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