@utils_routes.route('/pic/<path:filename>')
def send_pic(filename):
 return send_from_directory((os.path.realpath('.') + '/static/'), filename)

@ utils_routes . route ( '/pic/<path:filename>' ) def send_pic ( filename ) : return send_from_directory ( ( os . path . realpath ( '.' ) + '/static/' ) , filename )
returns image .