PLCControler.py
changeset 2447 1c04a50dc7ff
parent 2439 f0a040f1de1b
child 2450 5024c19ca8f0
--- a/PLCControler.py	Wed Oct 10 10:50:00 2018 +0300
+++ b/PLCControler.py	Thu Oct 11 09:41:15 2018 +0300
@@ -462,7 +462,7 @@
                     self.ProgramFilePath = filepath
                 return program_text, errors, warnings
             except PLCGenException as ex:
-                errors.append(ex.message)
+                errors.append(str(ex))
         else:
             errors.append("No project opened")
         return "", errors, warnings