Browse Source

Merge pull request #111 from gabriel-samfira/fix-option-val

Fix option value
Gabriel 6 years ago
parent
commit
37b422bcc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      coriolis/utils.py

+ 1 - 1
coriolis/utils.py

@@ -778,7 +778,7 @@ class Grub2ConfigEditor(object):
         for opt in self._parsed:
         for opt in self._parsed:
             if opt.get("option_name") == option:
             if opt.get("option_name") == option:
                 opt_found = True
                 opt_found = True
-                opt["option_value"] = value
+                opt["option_value"] = [value, ]
                 break
                 break
         if not opt_found:
         if not opt_found:
             self._parsed.append({
             self._parsed.append({