DbLoader: Fix call to 'file' function, which doesn't exist in Python3 (#1173)
This commit is contained in:
parent
226e8c549a
commit
14c2d0e1b6
@ -532,7 +532,7 @@ class GrampsImportFileDialog(ManagedWindow):
|
|||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
f = file(filename,'w')
|
f = open(filename, 'w')
|
||||||
f.close()
|
f.close()
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
except IOError:
|
except IOError:
|
||||||
|
Loading…
Reference in New Issue
Block a user