From be5fe4a13194493c2611b0ca96fdf4b4b348c1ea Mon Sep 17 00:00:00 2001 From: Yoann QUERET Date: Tue, 6 Oct 2015 14:24:15 +0200 Subject: Replace - to _ in sub name to be compatible with munin script. --- doc/stats_dabmux_multi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/stats_dabmux_multi.py b/doc/stats_dabmux_multi.py index a2587a4..8e58c00 100755 --- a/doc/stats_dabmux_multi.py +++ b/doc/stats_dabmux_multi.py @@ -123,7 +123,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config": munin_config = config_top for conf in config['config']: - munin_config += config_template.format(ident=conf) + munin_config += config_template.format(ident=conf.replace('-', '_')) print(munin_config) else: -- cgit v1.2.3