diff --git a/minicps/protocols.py b/minicps/protocols.py index 7143302..4803e18 100644 --- a/minicps/protocols.py +++ b/minicps/protocols.py @@ -219,6 +219,10 @@ def _tuple_to_cpppo_tag(cls, what, value=None, serializer=':'): tag_string += EnipProtocol._SERIALIZER tag_string += str(field) if value is not None: + if type(value) is str: + # TODO: add support for SSTRING tags + # ''' enip_client -a 192.168.1.20 'README:2[0]=(SSTRING)"string"' ''' + pass tag_string += '=' tag_string += str(value) # print 'DEBUG _tuple_to_cpppo_tag tag_string: ', tag_string diff --git a/temp/README.md b/temp/README.md new file mode 100644 index 0000000..9223a50 --- /dev/null +++ b/temp/README.md @@ -0,0 +1 @@ +Track the temp dir, please don't remove it. diff --git a/temp/devices_tests.sqlite b/temp/devices_tests.sqlite deleted file mode 100644 index e69de29..0000000