summaryrefslogtreecommitdiffstats
path: root/cli/objects/scopes.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/objects/scopes.py')
-rw-r--r--cli/objects/scopes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/objects/scopes.py b/cli/objects/scopes.py
index 6a9b71d..d65af0a 100644
--- a/cli/objects/scopes.py
+++ b/cli/objects/scopes.py
@@ -13,7 +13,7 @@ import json
def _find_client_path(json_data, client_ip, res):
if json_data['type'] == 'computer':
if json_data['ip'] == client_ip:
- res.append(f'{json_data['type']}: {client_ip}')
+ res.append(f'{json_data["type"]}: {client_ip}')
return True
return False
@@ -21,7 +21,7 @@ def _find_client_path(json_data, client_ip, res):
for child in children:
found = _find_client_path(child, client_ip, res)
if found:
- res.append(f'{json_data['type']}: {json_data['name']}')
+ res.append(f'{json_data["type"]}: {json_data["name"]}')
return True
return False