human
Solve the following python programming problem given the following code:
def get_entity_data(instance, app, option) : 
    'Prepares the fields/data for display' 
    model = type (instance) 
    field_config = discover () [app] [field_config.__name__] 
    def compute(field_config) : 
        for field_name in field_config : 
            if (option in field_config [field_name]) : 
                (yield field_name) 
return OrderedDict ([(model ().class_meta.get_field (field_name).verbose_name, getattr (instance, field_name)) for field_name in itertools.islice (compute (field_config), len (field_config))]) 

    
    

    Fix the buggy line: field_config = discover () [app] [field_config.__name__]
assistant
#Here is Python program to fix the buggy line: field_config = discover () [app] [field_config.

field_config = discover () [app] [model.__name__]