summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 16b4fba..84bf0e1 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -201,6 +201,8 @@ def multi_request(method, uri, payload=None):
else:
raise Exception('Invalid method, use get or post')
+ if not r:
+ continue
response['server'] = server
response['json'] = r.json()
responses.append(response)