From 5f8b6de1ec003dcc45d5a0946ae29d1b33ced892 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 20 May 2015 10:23:47 +0200 Subject: [PATCH] bugfix: method hasParam did not return any value --- pylot/core/read/inputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: