summaryrefslogtreecommitdiffstats
path: root/ogcp/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/views.py')
-rw-r--r--ogcp/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ogcp/views.py b/ogcp/views.py
index 7b6c7ae..fc2a3fb 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -644,6 +644,7 @@ def action_image_restore():
part_choices = []
+ server = get_server_from_clients(ips)
r = server.get('/images')
for image in r.json()['images']:
form.image.choices.append((image['id'], image['name']))