Skip to content
Snippets Groups Projects
Commit a319d6df authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

Merge branch 'feature/FixIntegerInput' into 'develop'

fix type check on interactive input (integer)

See merge request !17
parents bf5960bb 5094ac8c
No related branches found
No related tags found
1 merge request!17fix type check on interactive input (integer)
Checking pipeline status
......@@ -25,7 +25,7 @@ config = cmdline_factory(remote_config)
for key in config.value.mandatory():
if not config.option(key).option.issymlinkoption():
text = input("* "+config.option(key).option.doc() + " : ")
if config.option(key).option.type() == 'int':
if config.option(key).option.type() == 'integer':
config.option(key).value.set(int(text))
else:
config.option(key).value.set(text)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment