Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae8b1fe commit b54651bCopy full SHA for b54651b
1 file changed
lib/core/option.py
@@ -1828,10 +1828,8 @@ def _saveCmdline():
1828
if datatype == OPTION_TYPE.BOOLEAN:
1829
value = "False"
1830
elif datatype in (OPTION_TYPE.INTEGER, OPTION_TYPE.FLOAT):
1831
- if option in ("threads", "verbose"):
1832
- value = "1"
1833
- elif option == "timeout":
1834
- value = "10"
+ if option in defaults:
+ value = str(defaults[option])
1835
else:
1836
value = "0"
1837
elif datatype == OPTION_TYPE.STRING:
0 commit comments