From 9e453e8709706971102584fec8aa8085ca01237a Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 29 Jun 2011 17:49:59 +0000 Subject: [PATCH] fix for a bug reported by nightman@email.de --- lib/takeover/web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/takeover/web.py b/lib/takeover/web.py index 2e39f244b..fa725c164 100644 --- a/lib/takeover/web.py +++ b/lib/takeover/web.py @@ -228,8 +228,8 @@ class Web: else: continue - localPath = os.path.normpath(localPath).rstrip('/') - uriPath = os.path.normpath(uriPath).rstrip('/') + localPath = posixpath.normpath(localPath).rstrip('/') + uriPath = posixpath.normpath(uriPath).rstrip('/') # Upload the file stager self.__webFileInject(stagerContent, stagerName, localPath)