Minor patch (while saving configuration file)

This commit is contained in:
Miroslav Stampar 2014-04-25 09:32:57 +02:00
parent ae8b1fe89c
commit b54651b5a2

View File

@ -1828,10 +1828,8 @@ def _saveCmdline():
if datatype == OPTION_TYPE.BOOLEAN:
value = "False"
elif datatype in (OPTION_TYPE.INTEGER, OPTION_TYPE.FLOAT):
if option in ("threads", "verbose"):
value = "1"
elif option == "timeout":
value = "10"
if option in defaults:
value = str(defaults[option])
else:
value = "0"
elif datatype == OPTION_TYPE.STRING: