correction du bug des 0%
darcs-hash:20061116230348-f46e9-d6ccf89dbb4753a52f29e2810cb1fd91a7fa231a.gz
This commit is contained in:
parent
cb801d4734
commit
d3c4e0cc0b
1 changed files with 7 additions and 2 deletions
|
@ -170,6 +170,11 @@ def _execute (macro, text):
|
||||||
|
|
||||||
# Progress
|
# Progress
|
||||||
if text.endswith ('%'):
|
if text.endswith ('%'):
|
||||||
|
# correction du bug des 0%
|
||||||
|
if text == "0%":
|
||||||
|
for f in [fmt [1]] :
|
||||||
|
res = cell (res, f)
|
||||||
|
else:
|
||||||
for f in fmt [0] + ' %s' % text, fmt [1] :
|
for f in fmt [0] + ' %s' % text, fmt [1] :
|
||||||
res = cell (res, f)
|
res = cell (res, f)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue