Commit 88e5c09ffc39dd0e3319938a35717250ab88f36a
1 parent
e1b1c92c
Exists in
dev
petit bugfix import
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
simulators/plc/plcSimulator.py
@@ -114,7 +114,8 @@ class PLCSimulator(DeviceSim, StatusManager): | @@ -114,7 +114,8 @@ class PLCSimulator(DeviceSim, StatusManager): | ||
114 | pass | 114 | pass |
115 | 115 | ||
116 | def loop_3(self): | 116 | def loop_3(self): |
117 | - from simulators.plc.guitalens_worker import WorkerState, WorkerUrl | 117 | + #from simulators.plc.guitalens_worker import WorkerState, WorkerUrl |
118 | + from plc.guitalens_worker import WorkerState, WorkerUrl | ||
118 | # load guitalens_worker | 119 | # load guitalens_worker |
119 | self.my_state = WorkerState() | 120 | self.my_state = WorkerState() |
120 | self.my_worker = WorkerUrl(self.my_state, self.status) | 121 | self.my_worker = WorkerUrl(self.my_state, self.status) |
@@ -127,7 +128,8 @@ class PLCSimulator(DeviceSim, StatusManager): | @@ -127,7 +128,8 @@ class PLCSimulator(DeviceSim, StatusManager): | ||
127 | self.my_state.worker == 'stop' | 128 | self.my_state.worker == 'stop' |
128 | 129 | ||
129 | def loop_2(self): | 130 | def loop_2(self): |
130 | - from simulators.plc.meteo_worker import WorkerState, WorkerLog | 131 | + #from simulators.plc.meteo_worker import WorkerState, WorkerLog |
132 | + from plc.meteo_worker import WorkerState, WorkerLog | ||
131 | # load meteo_worker | 133 | # load meteo_worker |
132 | self.my_state = WorkerState() | 134 | self.my_state = WorkerState() |
133 | self.my_worker = WorkerLog(self.my_state, self.status) | 135 | self.my_worker = WorkerLog(self.my_state, self.status) |