diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-08-30 15:11:25 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-08-30 15:11:25 +0100 |
| commit | 27d9bbcd0586d76853f24d1eb73457f0f7478ff6 (patch) | |
| tree | 33fcc3bb44d234d647989b253eefb9c19c2967b6 /wim.py | |
| parent | 21a76352c4c276aac78136109edc6fae612e2b21 (diff) | |
bluetooth scanning switch
Diffstat (limited to 'wim.py')
| -rwxr-xr-x | wim.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -80,7 +80,9 @@ from btscan import * scan=scanner("127.0.0.1",5401,False) for t in doc.bt.trigger: scan.d.dm.triggers[t.id]=(t.command,t.param) -scan.start() + +if len(scan.d.dm.triggers) >0: + scan.start() logger=None |
