diff --git a/gramps/plugins/view/htmlrenderer.py b/gramps/plugins/view/htmlrenderer.py index 2de64cf1a..eba98ab2a 100644 --- a/gramps/plugins/view/htmlrenderer.py +++ b/gramps/plugins/view/htmlrenderer.py @@ -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', '',