Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e453e8

Browse files
committed
fix for a bug reported by [email protected]
1 parent be9b8bc commit 9e453e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/takeover/web.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ def webInit(self):
228228
else:
229229
continue
230230

231-
localPath = os.path.normpath(localPath).rstrip('/')
232-
uriPath = os.path.normpath(uriPath).rstrip('/')
231+
localPath = posixpath.normpath(localPath).rstrip('/')
232+
uriPath = posixpath.normpath(uriPath).rstrip('/')
233233

234234
# Upload the file stager
235235
self.__webFileInject(stagerContent, stagerName, localPath)

0 commit comments

Comments
 (0)