Skip to content

Commit

Permalink
Fixed bug with parsing help html files
Browse files Browse the repository at this point in the history
  • Loading branch information
DuckBoss committed Sep 16, 2020
1 parent 3e11e59 commit beb1a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JJMumbleBot/plugins/core/core_commands/core_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def cmd_help(self, data):
f'Plugin Version: {plugin_metadata[C_PLUGIN_INFO][P_PLUGIN_VERS]}<br>', text_color='cyan')
GS.gui_service.append_row(content)
for x, help_item in enumerate(all_help_lines):
item_parts = help_item.split(':', 1)
item_parts = help_item.rsplit(':', 1)
if len(item_parts) > 1:
content = GS.gui_service.make_content(
f'<font color="yellow">{item_parts[0]}</font>:{item_parts[1]}',
Expand Down

0 comments on commit beb1a09

Please sign in to comment.