From 930872cf3b62b775331eb39793157a80e8be40a9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 21 Apr 2011 14:20:09 +0000 Subject: [PATCH] fix --- lib/request/inject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index 34423d636..8eae69d33 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -482,7 +482,7 @@ def getValue(expression, blind=True, inband=True, error=True, time=True, fromUse if isinstance(value, basestring): value = value.strip().lower() if value in ("true", "false"): - value = bool(value) + value = value == "true" elif value in ("1", "-1"): value = True elif value == "0":