diff options
-rwxr-xr-x | test_task.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test_task.py b/test_task.py index f268bc0..b8d6e44 100755 --- a/test_task.py +++ b/test_task.py @@ -202,6 +202,9 @@ if __name__ == '__main__': params['username'] = user_params['username'] except Exception as ex: print(ex) + else: + # use system username to generate parameters + params['username'] = getpass.getuser() if basic_args.generate_params: #prejema lahko samo stringe in ne številk (potrebno je str(int) |