File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ def list_mbeds(self):
6363 if result [i ]['mount_point' ]:
6464 # Deducing mbed-enabled TargetID based on available targetID definition DB.
6565 # If TargetID from USBID is not recognized we will try to check URL in mbed.htm
66- htm_target_id = self .get_mbed_htm_target_id (m ['mount_point' ])
66+ htm_target_id = self .get_mbed_htm_target_id (result [ i ] ['mount_point' ])
6767 if htm_target_id :
68- result [i ]['target_id_usb_id' ] = m ['target_id' ]
68+ result [i ]['target_id_usb_id' ] = result [ i ] ['target_id' ]
6969 result [i ]['target_id' ] = htm_target_id
7070 result [i ]['platform_name' ] = self .platform_name (htm_target_id [:4 ])
7171 result [i ]['target_id_mbed_htm' ] = htm_target_id
@@ -165,5 +165,3 @@ def target_id(self, usb_info):
165165 def platform_name (self , target_id ):
166166 if target_id [:4 ] in self .manufacture_ids :
167167 return self .manufacture_ids [target_id [:4 ]]
168-
169-
You can’t perform that action at this time.
0 commit comments