Skip to content

Commit 3291bea

Browse files
committed
fix python 3.8
1 parent d4e17b4 commit 3291bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opcua/common/structures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def load_type_definitions(server, nodes=None):
286286
generator.set_typeid(name, nodeid.to_string())
287287

288288
for key, val in structs_dict.items():
289-
if isinstance(val, EnumMeta) and key is not "IntEnum":
289+
if isinstance(val, EnumMeta) and key != "IntEnum":
290290
setattr(ua, key, val)
291291

292292
return generators, structs_dict

0 commit comments

Comments
 (0)