Skip to content

Commit 86d0a0c

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 5a81dd2 commit 86d0a0c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ def allowed_objects():
9898
return flask.make_response({}, 200)
9999

100100
utils_functions.validate_request(flask.request, allowed_objects_json)
101-
file_absolute_path = geode_functions.upload_file_path(flask.request.json["filename"])
101+
file_absolute_path = geode_functions.upload_file_path(
102+
flask.request.json["filename"]
103+
)
102104
allowed_objects = geode_functions.list_geode_objects(
103105
file_absolute_path, flask.request.json["supported_feature"]
104106
)
@@ -289,12 +291,7 @@ def texture_coordinates():
289291

290292
texture_coordinates = data.texture_manager().texture_names()
291293

292-
return flask.make_response(
293-
{
294-
"texture_coordinates": texture_coordinates
295-
},
296-
200
297-
)
294+
return flask.make_response({"texture_coordinates": texture_coordinates}, 200)
298295

299296

300297
with open(

0 commit comments

Comments
 (0)