From 5fd97208d09f786b9b6a1714f1e42815185b5797 Mon Sep 17 00:00:00 2001 From: m431m <mmeliani@neogeo.fr> Date: Mon, 30 Nov 2020 16:13:31 +0100 Subject: [PATCH] Fixed TypeError --- src/mra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mra.py b/src/mra.py index d5826bc..3e02296 100644 --- a/src/mra.py +++ b/src/mra.py @@ -994,7 +994,7 @@ class MRA(object): # full_path = os.path.realpath(os.path.join(root, *args)) full_path = os.path.join(root, *args) if not full_path.startswith(os.path.realpath(root)): - raise webapp.Forbidden(message="Path \"%s\" outside root directory." % (args)) + raise webapp.Forbidden("Path \"%s\" outside root directory." % full_path) return full_path def mk_path(self, path): -- GitLab