--- a/Beremiz_service.py Tue Feb 20 14:24:30 2018 +0100
+++ b/Beremiz_service.py Tue Feb 20 14:46:12 2018 +0100
@@ -110,9 +110,9 @@
wampsecret = None if a == "off" else a
- l = list(os.path.split(os.path.realpath(a)))
+ fnameanddirname = list(os.path.split(os.path.realpath(a))) + fnameanddirname.reverse() + extensions.append(fnameanddirname) @@ -555,6 +555,7 @@
LogMessageAndException("", exp)
sys.excepthook = LogException
--- a/runtime/PLCObject.py Tue Feb 20 14:24:30 2018 +0100
+++ b/runtime/PLCObject.py Tue Feb 20 14:46:12 2018 +0100
@@ -25,7 +25,7 @@
from __future__ import absolute_import
from threading import Timer, Thread, Lock, Semaphore, Event
+import _ctypes # pylint: disable=wrong-import-order --- a/runtime/WampClient.py Tue Feb 20 14:24:30 2018 +0100
+++ b/runtime/WampClient.py Tue Feb 20 14:46:12 2018 +0100
@@ -93,7 +93,7 @@
ID = self.config.extra["ID"]
print('WAMP session joined by :', ID)
for name in ExposedCalls:
- regoption = types.RegisterOptions(u'exact', u'last', None, None)
+ regoption = types.RegisterOptions(u'exact', u'last') yield self.register(GetCallee(name), u'.'.join((ID, name)), regoption)
for name in SubscribedEvents: