While using IDA Python and related code of idaapi, the processor type is not returned correctly. Specially we will have MetaPC instead of the exact processor type. This is my code that I used it:
info = idaapi.get_inf_structure()
print info.procName
Is there any way to correct this problem??