From b9d5288c4fe2818b747f0497dbed14ed04960cd8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 27 Jun 2020 19:23:41 +0100 Subject: [PATCH] use prefix where it exists --- src/nmutil/iocontrol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nmutil/iocontrol.py b/src/nmutil/iocontrol.py index 917e105..f83d315 100644 --- a/src/nmutil/iocontrol.py +++ b/src/nmutil/iocontrol.py @@ -107,7 +107,7 @@ class RecordObject(Record): print (self, self.name, v.name) v.name = prefix + v.name elif isinstance(v, Record): - add_prefix_to_record_signals(self.name + "_", v) + add_prefix_to_record_signals(prefix, v) self.fields[k] = v #print ("RecordObject setattr", k, v) -- 2.30.2