From c2e994e806dffcbff30ff81635c06425f33ac6c5 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 11 Jan 2011 23:56:04 +0000 Subject: [PATCH] Minor adjustment --- lib/core/unescaper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/unescaper.py b/lib/core/unescaper.py index 33ca55d35..da84e6246 100644 --- a/lib/core/unescaper.py +++ b/lib/core/unescaper.py @@ -16,10 +16,10 @@ class Unescaper(advancedDict): return self[kb.dbms](expression, quote=quote) elif hasattr(kb.misc, "testedDbms") and kb.misc.testedDbms is not None: return self[kb.misc.testedDbms](expression, quote=quote) - if dbms is not None: - return self[dbms](expression, quote=quote) elif hasattr(kb.misc, "testedDbms") and kb.misc.testedDbms is not None: return self[kb.misc.testedDbms](expression, quote=quote) + elif dbms is not None: + return self[dbms](expression, quote=quote) else: return expression