From 70769f29091259022e98f412c8bdf8827444c798 Mon Sep 17 00:00:00 2001 From: Stef Date: Wed, 16 Apr 2025 15:09:26 +0200 Subject: [PATCH] Dashboard fix --- application/dash/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/dash/views.py b/application/dash/views.py index 4a6b65b..aea0bc8 100644 --- a/application/dash/views.py +++ b/application/dash/views.py @@ -55,8 +55,8 @@ def service(): name=name, # type: ignore url=url, # type: ignore user_id=current_user.id, - icon=os.path.join(str(current_user.id), filename), # type: ignore - ) + icon=str(current_user.id) + "/" + filename, + ) # type: ignore db.session.add(new_service) db.session.commit() return render_template(