From b179b4de764c754edfaa1ed7a4586626e0282d88 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 10 Jul 2019 12:34:03 +0200 Subject: [PATCH] stats --- src/CmdServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CmdServer.py b/src/CmdServer.py index 25898e4..2e51e28 100644 --- a/src/CmdServer.py +++ b/src/CmdServer.py @@ -216,7 +216,7 @@ class CmdInterpreter(cmd.Cmd): ratio = None else: ratio = float(r.errorCount) / float(r.processCount) - self.__println("#{0}: {1} ({2}, {3}), pc: {4}, ec: {5}, q: {6}" + self.__println("#{0:2d}: {1:10s} ({2:2d}, {3:5d}), pc: {4:7d}, ec: {5:7d}, q: {6:1.4f}" .format(i, r.label, r.unit, r.address, r.processCount, r.errorCount, ratio))