Mercurial > libervia-backend
diff sat/core/sat_main.py @ 2597:9446f1ea9eac
core: discoFindByFeatures now return only available resources
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 May 2018 10:52:01 +0200 |
parents | 973d4551ffae |
children | 56f94936df1e |
line wrap: on
line diff
--- a/sat/core/sat_main.py Fri May 25 10:52:01 2018 +0200 +++ b/sat/core/sat_main.py Fri May 25 10:52:01 2018 +0200 @@ -728,7 +728,7 @@ resources = [None] else: try: - resources = self.memory.getAllResources(client, jid_) + resources = self.memory.getAvailableResources(client, jid_) except exceptions.UnknownEntityError: continue for resource in resources: