This commit is contained in:
Михаил Капелько
2023-12-30 09:44:39 +03:00
parent 6446a413b2
commit 47f8109c0b
3 changed files with 3 additions and 6 deletions

View File

@@ -1,8 +1,5 @@
def pipeBusSource(name, entity, busKey, structure, fmt):
valueType = structure.model.fields[name][0]
if "toggle" in entity.pipes[name]:
valueType = "Void"
return fmt \
.replace("%BUS_KEY%", busKey) \
.replace("%BUS_VALUE_TYPE%", valueType)