runtime/__init__.py
changeset 2327 569d7fbc0bd4
parent 2309 d8fb90a2e11f
child 2583 e172ab28d04e
--- a/runtime/__init__.py	Tue Oct 30 09:46:46 2018 +0100
+++ b/runtime/__init__.py	Tue Oct 30 13:47:24 2018 +0100
@@ -9,9 +9,6 @@
 from runtime.Worker import worker
 MainWorker = worker()
 
-from runtime.PLCObject import PLCObject  # noqa # pylint: disable=wrong-import-position
-
-
 _PLCObjectSingleton = None
 
 
@@ -31,4 +28,5 @@
 
 def CreatePLCObjectSingleton(*args, **kwargs):
     global _PLCObjectSingleton
+    from runtime.PLCObject import PLCObject  # noqa # pylint: disable=wrong-import-position
     _PLCObjectSingleton = PLCObject(*args, **kwargs)