NativeLib.py
author Edouard Tisserant
Thu, 25 Apr 2013 11:54:07 +0900
changeset 1067 4f460c1dffb5
parent 944 52a17be9c4d1
child 1511 91538d0c242c
permissions -rw-r--r--
Added exception hook to Beremiz_service, so that exception go in PLC log. Extended Beremiz.py exception hook to threads. Stripped images embedded in Beremiz_service.py, user real images instead.
import os
from POULibrary import POULibrary

class NativeLibrary(POULibrary):
    def GetLibraryPath(self):
        return os.path.join(os.path.split(__file__)[0], "NativeLib.xml")