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, 1 insertions, 1 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index ffa890d..dde7941 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -227,7 +227,7 @@ def get_scopes(ips=set()):
for r in responses:
scopes = r['json']
server_scope = {}
- server_scope['name'] = r['server']
+ server_scope['name'] = r['server'].name
server_scope.update(scopes)
list_scopes.append(server_scope)
all_scopes = {'scope': list_scopes}