beremiz
Clone
Summary
Browse
Changes
Graph
IDE: Fix exception when connecting complex types
22 months ago, Edouard Tisserant
d2aecbb377ae
Parents
8d82aa6e9dd9
Children
22870ae8d8e1
IDE: Fix exception when connecting complex types
1 files changed, 2 insertions(+), 1 deletions(-)
+2
-1
PLCControler.py
--- a/PLCControler.py Tue Aug 20 00:02:27 2024 +0200
+++ b/PLCControler.py Tue Aug 20 00:20:59 2024 +0200
@@ -1373,7 +1373,8 @@
return False
def IsEndType(self, typename):
- if typename is not None:
+ # Check if the type is a base type
+ if type(typename) == str:
return not typename.startswith("ANY")
return True