Skip to content

Commit 952a1ec

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent ac0bea8 commit 952a1ec

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ def save_viewable_file():
247247
secure_filename = werkzeug.utils.secure_filename(flask.request.json["filename"])
248248
file_path = os.path.abspath(os.path.join(UPLOAD_FOLDER, secure_filename))
249249
data = geode_functions.load(flask.request.json["input_geode_object"], file_path)
250-
response_data = utils_functions.create_response_with_binary_light_viewable(flask.request.json["input_geode_object"], data, DATA_FOLDER_PATH)
250+
response_data = utils_functions.create_response_with_binary_light_viewable(
251+
flask.request.json["input_geode_object"], data, DATA_FOLDER_PATH
252+
)
251253
return flask.jsonify(response_data), 200
252254

253255

@@ -269,8 +271,10 @@ def create_point():
269271
builder.create_point(opengeode.Point3D([x, y, z]))
270272
builder.set_name(title)
271273
return flask.make_response(
272-
utils_functions.create_response_with_binary_light_viewable("PointSet3D", PointSet3D, DATA_FOLDER_PATH),
273-
200,
274+
utils_functions.create_response_with_binary_light_viewable(
275+
"PointSet3D", PointSet3D, DATA_FOLDER_PATH
276+
),
277+
200,
274278
)
275279

276280

src/opengeodeweb_back/utils_functions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def validate_request(request, schema):
8989
error_msg = str(e)
9090
flask.abort(400, error_msg)
9191

92+
9293
def set_interval(func, sec, args=None):
9394
def func_wrapper():
9495
set_interval(func, sec, args)

0 commit comments

Comments
 (0)