#NEWLINE# def content_config( app ) : #NEWLINE# #INDENT# location = content_location ( app ) #NEWLINE# if ( not location ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# config = os . path . join ( location , 'config.json' ) #NEWLINE# if ( not os . path . isfile ( config ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# with open ( config ) as fp : #NEWLINE# #INDENT# cfg = json . load ( app ) #NEWLINE# #UNINDENT# cfg [ 'location' ] = location #NEWLINE# return cfg