Minor bug fix

This commit is contained in:
Bernardo Damele 2010-03-18 17:36:58 +00:00
parent 0d559d14df
commit 72f3674844

View File

@ -379,7 +379,7 @@ def getValue(expression, blind=True, inband=True, fromUser=False, expected=None,
conf.paramFalseCond = oldParamFalseCond
conf.paramNegative = oldParamNegative
if value:
if value and isinstance(value, str):
value = value.strip()
return value