Fixed filename on open

svn: r34
This commit is contained in:
Don Allingham 2001-05-19 04:03:15 +00:00
parent cac11ac5d9
commit ad9d2365e1

View File

@ -39,7 +39,7 @@ class AbiWordDoc(TextDoc):
self.filename = filename + ".abw" self.filename = filename + ".abw"
else: else:
self.filename = filename self.filename = filename
self.f = open(self.filename,"w") self.f = open(self.filename,"w")
self.f.write('<?xml version="1.0" encoding="ISO-8859-1"?>\n') self.f.write('<?xml version="1.0" encoding="ISO-8859-1"?>\n')
self.f.write('<abiword version="0.7.14" fileformat="1.0">\n') self.f.write('<abiword version="0.7.14" fileformat="1.0">\n')