Commits

abudden committed 0d29560

Workaround for some help entries being loaded as lists.

Comments (0)

Files changed (1)

plugin/TagHighlight/module/cmd.py

         if AllOptions[dest]['Default'] == 'None':
             AllOptions[dest]['Default'] = None
 
+        # Correct erroneous conversion of help text to list
+        if isinstance(AllOptions[dest]['Help'], list):
+            AllOptions[dest]['Help'] = "".join(AllOptions[dest]['Help'])
+
         pyoptions.append(dest)
         if not isinstance(AllOptions[dest]['CommandLineSwitches'], list):
             AllOptions[dest]['CommandLineSwitches'] = AllOptions[dest]['CommandLineSwitches'].split(',')