diff options
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/views.py | 2 |
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} |