Enforce boolean type for dup_ok

Stop "choices" from being interpreted as strings.
This commit is contained in:
chrisweaver 2016-07-21 15:02:49 -04:00 committed by Matt Clay
parent 879afebf77
commit 531954e2f6

View file

@ -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')
)
)