file writes utf-8 by default now
This commit is contained in:
parent
05174b81fb
commit
53cc05c7ff
1 changed files with 3 additions and 3 deletions
|
@ -338,10 +338,10 @@ class Fcp:
|
|||
|
||||
def save(self, output):
|
||||
with open(output, 'w') as f:
|
||||
f.write(fcp_header.encode('utf-8'))
|
||||
f.write(fcp_header)
|
||||
for s in self.sequences:
|
||||
f.write(s.encode('utf-8'))
|
||||
f.write(fcp_footer.encode('utf-8'))
|
||||
f.write(s)
|
||||
f.write(fcp_footer)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
|
Loading…
Reference in a new issue