Fixed import dependency order for POUlibrary and PLCControler
authorEdouard Tisserant
Thu, 14 Jun 2012 18:50:10 +0200
changeset 772 98786137232d
parent 770 131110501214
child 773 3f3f1b8fcb07
Fixed import dependency order for POUlibrary and PLCControler
POULibrary.py
--- a/POULibrary.py	Thu Jun 14 15:50:57 2012 +0200
+++ b/POULibrary.py	Thu Jun 14 18:50:10 2012 +0200
@@ -1,8 +1,8 @@
-from PLCControler import PLCControler
 from weakref import ref
 
 class POULibrary:
     def __init__(self, CTR, LibName, TypeStack):
+        from PLCControler import PLCControler
         self.CTR = ref(CTR)
         self.LibName = LibName
         self.LibraryControler = PLCControler()