From b010c5348f50491e80af6fa8b12a6f293d51fe63 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Mon, 20 Mar 2023 15:54:33 +0000 Subject: [PATCH] added missing rstrip to calculator prefix --- caimira/apps/calculator/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/caimira/apps/calculator/__init__.py b/caimira/apps/calculator/__init__.py index 45851fee..c36e56ec 100644 --- a/caimira/apps/calculator/__init__.py +++ b/caimira/apps/calculator/__init__.py @@ -350,7 +350,7 @@ def get_url(app_root: str, relative_path: str = '/'): return app_root.rstrip('/') + relative_path.rstrip('/') def get_calculator_url(app_root: str, calculator_prefix: str, relative_path: str = '/'): - return app_root.rstrip('/') + calculator_prefix + relative_path.rstrip('/') + return app_root.rstrip('/') + calculator_prefix.rstrip('/') + relative_path.rstrip('/') def make_app( debug: bool = False,