Module: check_mk
Branch: master
Commit: 84b671c78a3afb893fe51d0eeb9866a2a3389712
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=84b671c78a3afb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 1 10:43:16 2011 +0200
progress dialog: Fixed JSON formating
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index ad30896..f0e6026 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -2230,7 +2230,7 @@ def interactive_progress(items, title, stats, finishvars, timewait,
success_stat
html.write("</table>")
html.write("</center>")
json_items = '[ %s ]' % ','.join([ "'" + h +
"'" for h in items ])
- success_stats = '[ %s ]' % ','.join(success_stats)
+ success_stats = '[ %s ]' % ','.join(map(str, success_stats))
# Remove all sel_* variables. We do not need them for our ajax-calls.
# They are just needed for the Abort/Finish links. Those must be converted
# to POST.