X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=d697f1623eaa9fb46e3bee34213491b8b6347d27;hp=884e62f1fbfa933eb8f57b1799a23a1d86274253;hb=c61d491dc3556fc4453ce732af7edfca2d24dc57;hpb=6523e3596df7ec9b7b94b875593953d4b34b6117 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()