From 1127ff4f996c81c4bba4a66b5ffd7d4aba882d6c Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 13 Nov 2013 20:38:39 -0500 Subject: [PATCH] Prepend server_dir to menu items. --- menu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu.py b/menu.py index 90b0af896..477ea4ab1 100644 --- a/menu.py +++ b/menu.py @@ -42,7 +42,7 @@ class Menu(): If BASEHREF is true and url start with a slash, prepend the cfg.base_href to it""" if basehref and url.startswith("/"): - url = cfg.base_href + url + url = cfg.server_dir + cfg.base_href + url item = Menu(label=label, icon=icon, url=url, order=order) self.items.append(item)