python 3 migration

This commit is contained in:
manuel83
2019-08-19 22:51:08 +02:00
parent 63f9f5468b
commit 996bc54768
1363 changed files with 351010 additions and 62 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
import time
from thread import start_new_thread
#from threading import start_new_thread
from modules import cbpi
try:
@@ -44,8 +44,8 @@ class Buzzer(object):
time.sleep(i)
except Exception as e:
pass
start_new_thread(play, (self.sound,))
## TODO
#start_new_thread(play, (self.sound,))
@cbpi.initalizer(order=1)
def init(cbpi):