8556: ValueError: underlying buffer has been detached (from Paul's patch)
This commit is contained in:
parent
257ea9117f
commit
ef762645e3
@ -126,7 +126,7 @@ class GrampsXmlWriter(UpdateCallback):
|
|||||||
"""
|
"""
|
||||||
if filename == '-':
|
if filename == '-':
|
||||||
import sys
|
import sys
|
||||||
g = sys.stdout
|
g = sys.stdout.buffer
|
||||||
self.compress = False
|
self.compress = False
|
||||||
else:
|
else:
|
||||||
base = os.path.dirname(filename)
|
base = os.path.dirname(filename)
|
||||||
|
Loading…
Reference in New Issue
Block a user