Fixed filename on open
svn: r34
This commit is contained in:
parent
cac11ac5d9
commit
ad9d2365e1
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user