From 494e014a4ad13f935c8e2b8972947a58d9db3702 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 3 Feb 2010 16:04:44 +0000 Subject: [PATCH] minor update --- lib/core/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index a8ea17e22..480ee9d8e 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -236,7 +236,7 @@ def getDocRoot(): absFilePathWin = None if re.match("[A-Za-z]:([\\/][\w.\\/]*)?", absFilePath): - absFilePathWin = absFilePath + absFilePathWin = absFilePath.replace("/", "\\") absFilePath = absFilePath[2:].replace("\\", "/") if pagePath in absFilePath: @@ -282,7 +282,7 @@ def getDirs(): for absFilePath in kb.absFilePaths: if absFilePath: - directories.add(os.path.dirname(absFilePath)) + directories.add(directoryPath(absFilePath)) else: warnMsg = "unable to retrieve any web server path" logger.warn(warnMsg)