Skip to content
Snippets Groups Projects
Commit eb269e36 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Remove trailing comma in generated themes.json

parent fb45d0a5
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -330,10 +330,9 @@ def handler_theme_changed(sender, **kwargs):
xml += ' %s\n' % xml_value('url', strvalue)
json += ' %s\n' % json_value('url', strvalue)
xml += ' </theme>\n'
json += ' },\n'
json = json[:-2] + '\n },\n'
xml += '</themes>\n'
json = json[:-2]
json += '\n]\n'
json = json[:-2] + '\n]\n'
 
# create themes.xml
filename = files_path_join('themes.xml')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment