Merge "v0.4.62 Get properly a vimconn error at image/flavor list/create"
diff --git a/nfvo.py b/nfvo.py
index 005e065..9f360ce 100644
--- a/nfvo.py
+++ b/nfvo.py
@@ -354,7 +354,7 @@
if 'extended' in flavor_dict and flavor_dict['extended']!=None:
dev_nb=0
for device in flavor_dict['extended'].get('devices',[]):
- if "image" not in device or "image name" not in device:
+ if "image" not in device and "image name" not in device:
continue
image_dict={}
image_dict['name']=device.get('image name',flavor_dict['name']+str(dev_nb)+"-img")