diff options
Diffstat (limited to 'ogcp/views.py')
-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 c05511b..114e768 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -582,7 +582,7 @@ def action_client_info(): setup = get_client_setup(ips) for entry in setup: - if entry['image'] != 0: + if images and entry['image'] != 0: image = next(img for img in images if img['id'] == entry['image']) entry['image'] = image['name'] else: |