From: pierre Date: Sun, 14 Sep 2014 13:54:09 +0000 (+0200) Subject: ... X-Git-Url: http://iramuteq.org/git?a=commitdiff_plain;h=f6e6d1cea58fe1e16aee1c8630367a890df82cea;p=iramuteq ... --- diff --git a/functions.py b/functions.py index 884e62f..d697f16 100644 --- a/functions.py +++ b/functions.py @@ -51,7 +51,7 @@ class TGen : if path is None : path = self.path with open(path, 'w') as f : - f.write('\n'.join(['\t'.join([val] + self.tgen[val]) for val in self.tgen])) + f.write('\n'.join(['\t'.join([val] + self.tgen[val]) for val in self.tgen]).encode(self.encoding)) def writetable(self, pathout, tgens, totocc): etoiles = totocc.keys()