minor bug fix

This commit is contained in:
Miroslav Stampar 2010-11-17 13:29:57 +00:00
parent 3d25071d06
commit 17f0609263

View File

@ -173,6 +173,9 @@ class Web:
self.__webFileInject(stagerContent, stagerName, directory) self.__webFileInject(stagerContent, stagerName, directory)
requestDir = ntToPosixSlashes(directory) requestDir = ntToPosixSlashes(directory)
if not requestDir:
continue
if requestDir[-1] != '/': if requestDir[-1] != '/':
requestDir += '/' requestDir += '/'