# HG changeset patch # User Goffi # Date 1558790015 -7200 # Node ID d8857e91330901a5366965f663fff5de52920d80 # Parent c8cd5c30fb2eb0a11434cd300ac620dfcb1777b2 tools (common/template): fixed theme parsing when there is no "/" in parenthesis diff -r c8cd5c30fb2e -r d8857e913309 sat/tools/common/template.py --- a/sat/tools/common/template.py Tue May 14 20:16:45 2019 +0200 +++ b/sat/tools/common/template.py Sat May 25 15:13:35 2019 +0200 @@ -117,7 +117,7 @@ theme_data = template[1:theme_end] theme_splitted = theme_data.split(u'/') if len(theme_splitted) == 1: - site, theme = u"", theme_splitted + site, theme = u"", theme_splitted[0] elif len(theme_splitted) == 2: site, theme = theme_splitted else: