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

Remove trailing comma in generated plugins.json

parent ad8b06b9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -443,7 +443,7 @@ def handler_plugin_changed(sender, **kwargs):
xml += getxmlline(field, value_i18n[field])
json += getjsonline(field, value_i18n[field])
xml += ' </plugin>\n'
json += ' },\n'
json = json[:-2] + '\n },\n'
strings.append(
(
plugin.desc_en,
Loading
Loading
@@ -452,8 +452,7 @@ def handler_plugin_changed(sender, **kwargs):
plugin.version_weechat()),
))
xml += '</plugins>\n'
json = json[:-2]
json += '\n]\n'
json = json[:-2] + '\n]\n'
 
# create plugins.xml
filename = files_path_join('plugins.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