Fix the open calls to use a host path.

This commit is contained in:
Chris Johns
2013-05-01 06:29:12 +10:00
parent 2edd4c9f28
commit 84924e4e52
3 changed files with 8 additions and 7 deletions

View File

@@ -314,7 +314,7 @@ class report:
outfile.close()
if name is not None:
try:
o = open(name, "w")
o = open(path.host(name), "w")
o.write(self.out)
o.close()
del o