From fdf61015ad8107ff7f65fde5709617ed4d894905 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 9 May 2012 08:41:05 +0000 Subject: [PATCH] minor patch --- lib/request/inject.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/request/inject.py b/lib/request/inject.py index f04b97754..7b74aa2f6 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -337,11 +337,11 @@ def __goBooleanProxy(expression): output = hashDBRetrieve(expression) - if not output: + if output is None: output = Request.queryPage(payload, timeBasedCompare=timeBasedCompare, raise404=False) - if output is not None: - hashDBWrite(expression, output) + if output is not None: + hashDBWrite(expression, output) return output