From 9c1a0b9bdb8cffb2f1b69e30a8f592bf03f33571 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 15 Nov 2020 11:07:12 +0000 Subject: [PATCH] Comment --- theme.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme.py b/theme.py index cef871e14..5b2862452 100644 --- a/theme.py +++ b/theme.py @@ -187,6 +187,8 @@ def setThemeFromDict(baseDir: str, name: str, templateFilename = \ baseDir + '/theme/' + name + '/epicyon-profile.css' + # Ensure that any custom CSS is mostly harmless. + # If not then just use the defaults if dangerousCSS(templateFilename) or \ not os.path.isfile(templateFilename): # use default css