diff --git a/gramps/gui/dbloader.py b/gramps/gui/dbloader.py index 5edcae3ab..ddfd5411e 100644 --- a/gramps/gui/dbloader.py +++ b/gramps/gui/dbloader.py @@ -532,7 +532,7 @@ class GrampsImportFileDialog(ManagedWindow): return True else: try: - f = file(filename,'w') + f = open(filename, 'w') f.close() os.remove(filename) except IOError: