#NEWLINE# def get_filename( self , title ) : #NEWLINE# #INDENT# self . e . set_query ( self . qp . parse_query ( ( 'title:' + title ) ) ) #NEWLINE# m = self . e . get_mset ( 0 , self . db . get_doccount ( ) ) #NEWLINE# result = ( title . replace ( '/' , '_' ) . replace ( '\\' , '_' ) + title_lower . extension ) #NEWLINE# title_lower = title . lower ( ) #NEWLINE# if ( not m . empty ( ) ) : #NEWLINE# #INDENT# for r in m : #NEWLINE# #INDENT# if ( r . document . get_value ( 1 ) . lower ( ) == title_lower ) : #NEWLINE# #INDENT# result = r . document . get_data ( ) #NEWLINE# break #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return result