# HG changeset patch # User Goffi # Date 1647964842 -3600 # Node ID dd1d1a5824386a7e61ce2f24b74c0b027ffee4f5 # Parent fa3dc4ed7906cc3138eeda66250106c30e228e2e tools (common/template): fix setting of `css_files_noscript` when `css_file` is specified diff -r fa3dc4ed7906 -r dd1d1a582438 sat/tools/common/template.py --- a/sat/tools/common/template.py Tue Mar 22 17:00:42 2022 +0100 +++ b/sat/tools/common/template.py Tue Mar 22 17:00:42 2022 +0100 @@ -1007,6 +1007,8 @@ if css_files is None: css_files, css_files_noscript = self.getCSSFiles(template_data) + else: + css_files_noscript = [] kwargs["icon_defs"] = self._icon_defs kwargs["icon"] = self._icon_use