summaryrefslogtreecommitdiff
path: root/wim.py
diff options
context:
space:
mode:
Diffstat (limited to 'wim.py')
-rwxr-xr-xwim.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wim.py b/wim.py
index ec77a47..d61cb7c 100755
--- a/wim.py
+++ b/wim.py
@@ -78,6 +78,7 @@ except:
from btscan import *
scan=scanner("127.0.0.1",5401,False)
+
try:
for t in doc.bt.trigger:
scan.d.dm.triggers[t.id]=(t.command,t.param)
@@ -144,5 +145,5 @@ while True:
print "wim: sending:",str(r[0]),str(r[1])
#pd needs \n at end of message
outsock.sendto( str(r[0])+' '+str(r[1])+'\n', (PD_IP, PD_PORT) )
- time.sleep(1.0)
+ time.sleep(0.1)