Enforce boolean type for dup_ok
Stop "choices" from being interpreted as strings.
This commit is contained in:
parent
879afebf77
commit
531954e2f6
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ def main():
|
|||
new_name=dict(default=None, required=False),
|
||||
path=dict(default='/', required=False),
|
||||
new_path=dict(default=None, required=False),
|
||||
dup_ok=dict(default=False, required=False, choices=[False, True])
|
||||
dup_ok=dict(default=False, required=False, choices=[False, True], type='bool')
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue