diff -r f899af683bbe -r aeb0d0788869 bt.py --- a/bt.py Sat Apr 11 21:02:54 2015 +0300 +++ b/bt.py Sun Apr 19 19:45:42 2015 +0300 @@ -100,6 +100,9 @@ global btannounce_timeout global btannounce_id + if not suds_active: + return + if time.time() >= btannounce_timeout: update_checktimeout() newid = btannounce_id