Enforce boolean type for dup_ok
Stop "choices" from being interpreted as strings.
This commit is contained in:
parent
b3c606047d
commit
8879931f0c
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,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