X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=417e91700cae28c4103697a29d1e51d2ca2e7ec2;hp=d697f1623eaa9fb46e3bee34213491b8b6347d27;hb=f24454f5d67c621e94a76410a1e8e9a83c0c138b;hpb=f6e6d1cea58fe1e16aee1c8630367a890df82cea diff --git a/functions.py b/functions.py index d697f16..417e917 100644 --- a/functions.py +++ b/functions.py @@ -66,7 +66,7 @@ class TGen : while totname + `i` in tgens : i += 1 totname = totname + `i` - line = '\t'.join([totname] + [`totocc[et]` for et in etoiles]) + line = '\t'.join([totname] + [`totocc[et]` for et in etoiles]) + '\n' f.write(line.encode(self.encoding)) class History : @@ -674,6 +674,11 @@ def progressbar(self, maxi) : parent = self.parent else : parent = self + try : + print '###horrible hack progressbar' + maxi = int(maxi) + except : + maxi = 1 return wx.ProgressDialog("Traitements", "Veuillez patienter...", maximum=maxi,