human
Solve the following python programming problem given the following code:
def get_table_name(domain, table_id) : 
    def _hash(domain, table_id) : 
        return hashlib.sha1 ('{}_{}'.format (hashlib.sha1 (domain).hexdigest (), table_id)).hexdigest () [: 8] 
return truncate_value ('config_report_{}_{}_{}'.format (domain, domain, _hash (domain, table_id)), from_left = False) 

    
    

    Fix the buggy line: return truncate_value ('config_report_{}_{}_{}'.format (domain, domain, _hash (domain, table_id)), from_left = False)
assistant
#Here is Python code to fix the buggy line: return truncate_value ('config_report_{}_{}_{}'.

return truncate_value ('config_report_{}_{}_{}'.format (domain, table_id, _hash (domain, table_id)), from_left = False)