diff --git a/bbbmon/meetings.py b/bbbmon/meetings.py index db01c367cfd04c05363ba7c951127058666ee14e..118b19971b34e919eeb5f61f966463ec0d4bccdd 100644 --- a/bbbmon/meetings.py +++ b/bbbmon/meetings.py @@ -217,7 +217,7 @@ def meetings_twolines(config: Config, watch: int, fancy: bool): if config.on_server: # If on server get load w = subprocess.run(["w | head -1 | awk '{print $10}' | sed -e 's/,$//'"], shell=True, stdout=subprocess.PIPE) - w = float(w.stdout.decode('utf-8')) + w = float(w.stdout.decode('utf-8').strip().replace(",", ".")) lines = [ "{} rec / ses ppl mod vid mic ear lod".format(endpoint.name[:3]), "stats {:>2} / {:<2} {:>3} {:>3} {:>3} {:>3} {:>3} {:.1f}"\ diff --git a/pyproject.toml b/pyproject.toml index 5fa874fd598d5c9d5245438bf4a07e35f5c74567..5674805ef9eb9396063df50abf33e32e972db015 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bbbmon" -version = "0.1.15" +version = "0.1.16" description = "A small CLI utility to monitor bbb usage" authors = ["David Huss <david.huss@hfbk-hamburg.de>"] maintainers = ["David Huss <david.huss@hfbk-hamburg.de>"]