Skip to content

Commit 38294b2

Browse files
committed
initial commit
1 parent 3562ef7 commit 38294b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/opengeodeweb_back/geode_functions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,15 @@ def object_priority(geode_object: str, file_absolute_path: str) -> int:
4141
return geode_object_value(geode_object)["object_priority"](file_absolute_path)
4242

4343

44-
def load(geode_object: str, file_absolute_path: str):
44+
def load(geode_object: str, file_absolute_path: str): # A virer
4545
return geode_object_value(geode_object)["load"](file_absolute_path)
4646

4747

48-
def data_file_path(data_id: str, filename: str) -> str:
48+
def data_file_path(data_id: str) -> str:
4949
data_folder_path = flask.current_app.config["DATA_FOLDER_PATH"]
5050
return os.path.join(
5151
data_folder_path,
5252
data_id,
53-
werkzeug.utils.secure_filename(filename),
5453
)
5554

5655

0 commit comments

Comments
 (0)