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