#NEWLINE# def get_template( template_directive ) : #NEWLINE# #INDENT# ' \n    Run the template from a specific directive\n\n    @get_template("pages")\n    ' #NEWLINE# def real_decorator( function_to_decorate ) : #NEWLINE# #INDENT# @ wraps ( function_to_decorate ) #NEWLINE# def decorated_function( * args , **kwargs ) : #NEWLINE# #INDENT# function_to_decorate ( * args , ** kwargs ) #NEWLINE# return render_template ( ( ( ( template_directive + '/' ) + args [ 0 ] [ 'file' ] ) + '.html' ) , ** locals ( ) ) #NEWLINE# #UNINDENT# return decorated_function #NEWLINE# #UNINDENT# return real_decorator