From aea43a1e431f3b46e5e45be8c468412c27e8498b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 19 Jan 2011 15:26:57 +0000 Subject: [PATCH] minor refactoring --- lib/core/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 4714747bb..0a032fc79 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -57,6 +57,7 @@ from lib.core.exception import sqlmapNoneDataException from lib.core.exception import sqlmapMissingDependence from lib.core.exception import sqlmapSyntaxException from lib.core.optiondict import optDict +from lib.core.settings import INFERENCE_UNKNOWN_CHAR from lib.core.settings import DESCRIPTION from lib.core.settings import IS_WIN from lib.core.settings import PLATFORM @@ -2139,4 +2140,4 @@ def decodeIntToUnicode(value): try: return struct.pack('>H', value).decode(kb.pageEncoding) except: - return '?' + return INFERENCE_UNKNOWN_CHAR