#NEWLINE# @ app . route ( '/cameras/<camid>/photos/<filename>' , methods = [ 'GET' ] ) #NEWLINE# def get_photo( camid , filename ) : #NEWLINE# #INDENT# 'Return a photo. Photos are in jpeg format, they can be viewed in\n    a web browser.' #NEWLINE# camera = get_camera_from_id ( camid ) #NEWLINE# path = camera . get_photo_path ( filename ) #NEWLINE# return send_file ( path )