projects
/
iramuteq
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[iramuteq]
/
functions.py
diff --git
a/functions.py
b/functions.py
index
d697f16
..
417e917
100644
(file)
--- a/
functions.py
+++ b/
functions.py
@@
-66,7
+66,7
@@
class TGen :
while totname + `i` in tgens :
i += 1
totname = totname + `i`
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 :
f.write(line.encode(self.encoding))
class History :
@@
-674,6
+674,11
@@
def progressbar(self, maxi) :
parent = self.parent
else :
parent = self
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,
return wx.ProgressDialog("Traitements",
"Veuillez patienter...",
maximum=maxi,