From 56a493d91ab1b3b6f7b4878899bf75816040b3ef Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 12 Nov 2020 17:18:14 +0000 Subject: [PATCH] Prepend slash --- webapp_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_utils.py b/webapp_utils.py index cea77cbdf..2a3429676 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -442,7 +442,7 @@ def htmlHeaderWithExternalStyle(cssFilename: str, lang='en') -> str: htmlStr += '\n' htmlStr += ' \n' htmlStr += ' \n' - cssFile = cssFilename.split('/')[-1] + cssFile = '/' + cssFilename.split('/')[-1] htmlStr += ' \n' htmlStr += ' \n' htmlStr += ' \n'