Skip to content
Snippets Groups Projects
Commit 204e49c7 authored by inso's avatar inso
Browse files

Fix bug #311

parent b95d22ba
No related branches found
No related tags found
No related merge requests found
......@@ -281,8 +281,9 @@ class BmaAccess(QObject):
except jsonschema.ValidationError as e:
logging.debug(str(e))
tries += 1
else:
if len(nodes) == 0 or json_data is None:
raise NoPeerAvailable("", len(nodes))
return json_data
@asyncio.coroutine
def broadcast(self, request, req_args={}, post_args={}):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment