changeset 1505 | 5ecb16be9a3c |
parent 1502 | 62eb21aab1fb |
child 1508 | 4c645e6b8c98 |
--- a/PLCControler.py Mon Apr 25 17:23:04 2016 +0300 +++ b/PLCControler.py Wed Apr 27 18:42:30 2016 +0300 @@ -2317,7 +2317,7 @@ new_id = {} try: - instances, error = LoadPouInstances(text.encode("utf-8"), bodytype) + instances, error = LoadPouInstances(text, bodytype) except: instances, error = [], "" if error is not None or len(instances) == 0: