From 46e40500f54a1ca17def3dd1e9a6090c4a026870 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Wed, 10 Jul 2019 12:11:22 +0200 Subject: [PATCH] debug --- src/RegisterDatapoint.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/RegisterDatapoint.py b/src/RegisterDatapoint.py index d5a11de..96bf2a4 100644 --- a/src/RegisterDatapoint.py +++ b/src/RegisterDatapoint.py @@ -170,6 +170,7 @@ def checkRegisterList(registers): for r in registers: if not isinstance(r, AbstractModbusDatapoint): r.errorCount = 0 + print("Datapoint loaded: {0!s}".format(r)) raise ValueError('Entry in register list {0!s} is not derived from class AbstractModbusDatapoint'.format(r))