beremiz
Clone
Summary
Browse
Changes
Graph
Adding secure extraction of last edited project path to avoid crash if path is not well formatted
2012-07-18, laurent
52d3a084d2b2
Adding secure extraction of last edited project path to avoid crash if path is not well formatted
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Python xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="py_ext_xsd.xsd">
<![CDATA[import time,sys
def MyPythonFunc(arg):
print arg
PLCBinary.Python_to_C_Call(arg)
sys.stdout.flush()
return arg
]]>
</Python>