author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Tue, 20 Aug 2024 00:20:59 +0200 | |
changeset 3968 | d2aecbb377ae |
parent 3967 | 8d82aa6e9dd9 |
child 3969 | 22870ae8d8e1 |
PLCControler.py | file | annotate | diff | comparison | revisions |
--- 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