Commit 88e5c09ffc39dd0e3319938a35717250ab88f36a

Authored by Etienne Pallier
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 114 pass
115 115  
116 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 119 # load guitalens_worker
119 120 self.my_state = WorkerState()
120 121 self.my_worker = WorkerUrl(self.my_state, self.status)
... ... @@ -127,7 +128,8 @@ class PLCSimulator(DeviceSim, StatusManager):
127 128 self.my_state.worker == 'stop'
128 129  
129 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 133 # load meteo_worker
132 134 self.my_state = WorkerState()
133 135 self.my_worker = WorkerLog(self.my_state, self.status)
... ...