Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/fosslight_android/android_binary_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_module_json_obj_by_installed_path(module_name, binary_name_with_path, bi
else: # Find binary by installed path
for key in module_info_json_obj:
js_value = module_info_json_obj[key]
output_files = js_value["installed"]
output_files = js_value.get("installed",None)
if output_files is not None:
for output_file in output_files:
if output_file == binary_name_with_path:
Expand All @@ -167,6 +167,7 @@ def get_module_json_obj_by_installed_path(module_name, binary_name_with_path, bi
if path_with_out_dir == output_file:
js_value[MODULE_TYPE_NAME] = key
return js_value

return ""


Expand Down