diff --git a/pylot/core/read/inputs.py b/pylot/core/read/inputs.py index 08dd2b32..740bd15a 100644 --- a/pylot/core/read/inputs.py +++ b/pylot/core/read/inputs.py @@ -135,9 +135,9 @@ class AutoPickParameter(object): try: for param in args: - test(param) + return test(param) except TypeError: - test(args) + return test(args) def getParam(self, *args): try: