1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-11 05:17:55 +03:00

small transport fix¡

This commit is contained in:
Adolfo Gómez García 2022-10-14 19:51:43 +02:00
parent c2c5bc8aa1
commit 2b767e6bf9
No known key found for this signature in database
GPG Key ID: DD1ABF20724CDA23

View File

@ -118,7 +118,7 @@ class Transports(ModelHandler):
'values': [
{'id': x.uuid, 'text': x.name}
for x in ServicePool.objects.all().order_by('name')
if transport.protocol in x.service.getType().allowedProtocols
if x.service and transport.protocol in x.service.getType().allowedProtocols
],
'label': gettext('Service Pools'),
'tooltip': gettext('Currently assigned services pools'),