Skip to content

Commit d336134

Browse files
author
Eric Davisson
committed
v0.8.11
Fixes for control import on the worker.
1 parent 7c84152 commit d336134

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

mudpi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
print('_________________________________________________')
6565
print('')
6666
print('Eric Davisson @theDavisson')
67-
print('Version: ', CONFIGS.get('version', '0.8.10'))
67+
print('Version: ', CONFIGS.get('version', '0.8.11'))
6868
print('\033[0;0m')
6969

7070
if CONFIGS['debug'] is True:

workers/pi_control_worker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import sys
77
sys.path.append('..')
88
from controls.pi.button_control import (ButtonControl)
9+
from controls.pi.switch_control import (SwitchControl)
910

1011
import variables
1112

workers/pi_sensor_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def init_sensors(self):
7373
def run(self):
7474
t = threading.Thread(target=self.work, args=())
7575
t.start()
76-
print('Pi Sensor Worker [' + str(len(self.config)) + ' Sensors]...\t\t\033[1;32m Running\033[0;0m')
76+
print('Pi Sensor Worker [' + str(len(self.sensors)) + ' Sensors]...\t\t\033[1;32m Running\033[0;0m')
7777
return t
7878

7979
def work(self):

0 commit comments

Comments
 (0)