Skip to content

Commit 3d2e764

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 64439c8 commit 3d2e764

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ werkzeug==3.1.8
6060
# flask
6161
# flask-cors
6262

63-
opengeodeweb-microservice==1.*,>=1.1.3

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,12 @@ def import_project() -> flask.Response:
624624
if viewable_name:
625625
vpath = geode_functions.data_file_path(data.id, viewable_name)
626626
viewable_dir = os.path.join(data_path, "viewable")
627-
has_components = os.path.isdir(viewable_dir) and bool(os.listdir(viewable_dir))
628-
if os.path.isfile(vpath) and (data.viewer_object != "model" or has_components):
627+
has_components = os.path.isdir(viewable_dir) and bool(
628+
os.listdir(viewable_dir)
629+
)
630+
if os.path.isfile(vpath) and (
631+
data.viewer_object != "model" or has_components
632+
):
629633
continue
630634

631635
native_file = str(data.native_file or "")

0 commit comments

Comments
 (0)