Skip to content

Commit ae0390f

Browse files
author
Corentin M
committed
General path
1 parent 3d0a34a commit ae0390f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/dashapp/layout.py

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ def make_default_figure(
7676
"margin": dict(l=0, r=0, b=0, t=0, pad=4),
7777
}
7878
)
79-
print(fig.__dict__)
8079
return fig
8180

8281

app/dashapp/routes.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
from app.dashapp import bp
44

55

6-
@bp.route("/home/corentin/myoxia/app/dashapp/static/<path:filename>")
6+
@bp.route(bp.static_folder + "/<path:filename>")
77
@login_required
88
def image_folder_seg(filename):
9+
print()
910
"""Serve files located in patient subfolder inside folder"""
1011
return send_from_directory(bp.static_folder, filename)

0 commit comments

Comments
 (0)