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 3243062..e0911b0 100644
--- a/ogcp/views.py
+++ b/ogcp/views.py
@@ -1189,6 +1189,7 @@ def action_image_update():
return redirect(url_for('commands'))
form.ip.data = ' '.join(ips)
+ server = get_server_from_clients(ips)
r = server.get('/images')
for image in r.json()['images']:
form.image.choices.append((image['id'], image['name']))