fix update
This commit is contained in:
parent
56d0a610ff
commit
c7de427475
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class RougailUpgrade:
|
|||
for name in choices:
|
||||
choice = SubElement(variable, 'choice')
|
||||
choice.text = name
|
||||
if not has_value and choices[0]['type'] != 'variable':
|
||||
if not has_value:
|
||||
value = SubElement(variable, 'value')
|
||||
value.text = choices[0]
|
||||
variable.attrib['mandatory'] = 'True'
|
||||
|
|
Loading…
Reference in a new issue