file writes utf-8 by default now

This commit is contained in:
j 2018-09-09 14:34:11 +02:00
parent 05174b81fb
commit 53cc05c7ff

View file

@ -338,10 +338,10 @@ class Fcp:
def save(self, output): def save(self, output):
with open(output, 'w') as f: with open(output, 'w') as f:
f.write(fcp_header.encode('utf-8')) f.write(fcp_header)
for s in self.sequences: for s in self.sequences:
f.write(s.encode('utf-8')) f.write(s)
f.write(fcp_footer.encode('utf-8')) f.write(fcp_footer)
if __name__ == '__main__': if __name__ == '__main__':