1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-18 06:03:54 +03:00
This commit is contained in:
Adolfo Gómez García 2019-02-25 10:08:37 +01:00
parent b1f3407299
commit 6156f2c6f6

View File

@ -62,7 +62,7 @@ import logging
import pickle
import six
__updated__ = '2019-02-22'
__updated__ = '2019-02-25'
logger = logging.getLogger(__name__)
@ -442,7 +442,7 @@ class DeployedService(UUIDModel, TaggingMixin):
Returns:
A list of db records (userService) with cached user services
'''
return self.userServices.exclude(cache_level=0, user=None)
return self.userServices.exclude(cache_level=0).filter(user=None)
def assignedUserServices(self):
'''