#NEWLINE# def add_actor( self , actor_id ) : #NEWLINE# #INDENT# if ( not isinstance ( actor_id , list ) ) : #NEWLINE# #INDENT# actor_id = [ actor_id ] #NEWLINE# #UNINDENT# for a in actor_id : #NEWLINE# #INDENT# self . actors [ a ] = ( self . am . actors [ a ] . name if ( a in self . am . actors ) else None )