1. abudden
  2. TagHighlight

Commits

abudden  committed 0d29560

Workaround for some help entries being loaded as lists.

  • Participants
  • Parent commits 7c4891f
  • Branches default

Comments (0)

Files changed (1)

File plugin/TagHighlight/module/cmd.py

View file
  • Ignore whitespace
         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(',')