X-Git-Url: http://iramuteq.org/git?p=iramuteq;a=blobdiff_plain;f=functions.py;h=7a24001f26ce6941be9592f898dd22a07006d0ac;hp=d697f1623eaa9fb46e3bee34213491b8b6347d27;hb=54d801be487adf479497f03b1ad4557863093f88;hpb=63c436f38d110209959b9ed94030e798309aac55 diff --git a/functions.py b/functions.py index d697f16..7a24001 100644 --- a/functions.py +++ b/functions.py @@ -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,