minor adjustment

This commit is contained in:
Bernardo Damele
2013-01-23 02:10:38 +00:00
parent d8a0e7eacb
commit f4028bd7d2
3 changed files with 7 additions and 6 deletions

View File

@@ -271,7 +271,7 @@ class Web:
_ = _.replace("WRITABLE_DIR", localPath.replace('/', '\\\\') if Backend.isOs(OS.WINDOWS) else localPath)
f.write(utf8encode(_))
self.unionWriteFile(filename, self.webStagerFilePath, "text")
self.unionWriteFile(filename, self.webStagerFilePath, "text", forceCheck=True)
uplPage, _, _ = Request.getPage(url=self.webStagerUrl, direct=True, raise404=False)
uplPage = uplPage or ""