8023: HTML view fails to load; replaced file with open
This commit is contained in:
parent
6bdc7fea05
commit
4d0508e6bf
@ -555,7 +555,7 @@ class HtmlView(NavigationView):
|
||||
# Now we have two views : Web and Geography, we need to create the
|
||||
# startpage only once.
|
||||
if not os.path.exists(filename):
|
||||
ufd = file(filename, "w+")
|
||||
ufd = open(filename, "w+")
|
||||
ufd.write(data)
|
||||
ufd.close()
|
||||
return urlunsplit(('file', '',
|
||||
|
Loading…
Reference in New Issue
Block a user