diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-09-04 20:12:41 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2019-09-04 20:17:12 +0200 |
commit | 8484cfe1d767e08a86d727ed5b8743658816bd48 (patch) | |
tree | 80692c3fd02e503ec23e765709cecd26104dc00e | |
parent | 624f8c317ae972153640ff96ab3ee1bb83829cf7 (diff) |
test_task: Store empty parameters as ''
Some test scripts do not expect None as parameter value.
-rwxr-xr-x | test_task.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test_task.py b/test_task.py index a074a13..ac44201 100755 --- a/test_task.py +++ b/test_task.py @@ -52,8 +52,7 @@ def get_params(params, params_meta, language=None): s = getpass.getpass('{}: '.format(description)) else: s = rlinput('{}: '.format(description), params.get(name, '')) - if s: - params[name] = s + params[name] = s except EOFError: print() else: |