Commit 1c94c659 authored by Alexander Schrode's avatar Alexander Schrode Committed by oroulet

fix basetype_by_datatype

parent 132f4f88
......@@ -1072,7 +1072,7 @@ def register_basetype(name, nodeid, class_type):
Register a new allias of basetypes for automatic decoding and make them available in ua module
"""
logger.info("registring new basetype alias: %s %s %s", name, nodeid, class_type)
basetype_by_datatype[nodeid] = class_type
basetype_by_datatype[nodeid] = name
basetype_datatypes[class_type] = nodeid
import asyncua.ua
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment