Fix bug introduced in commit 8dffe66
The fix function can be passed a str or int.
This commit is contained in:
parent
f4f5544060
commit
31bcba8d5d
@ -439,6 +439,7 @@ class GrampsXmlWriter(UpdateCallback):
|
|||||||
self.g.write('/>\n')
|
self.g.write('/>\n')
|
||||||
|
|
||||||
def fix(self, line):
|
def fix(self, line):
|
||||||
|
l = str(line)
|
||||||
l = l.strip().translate(strip_dict)
|
l = l.strip().translate(strip_dict)
|
||||||
return escxml(l)
|
return escxml(l)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user