Use name in all places, not id.

This commit is contained in:
rallytime 2015-09-21 14:36:49 -06:00
parent 9b34542cb0
commit 6e16fad760

View File

@ -137,7 +137,7 @@ def avail_images(call=None):
for image in items['images']:
ret[image['name']] = {}
for item in six.iterkeys(image):
ret[image['id']][item] = image[item]
ret[image['name']][item] = image[item]
page += 1
try: