tuhi: don't use a timeout for searching

We track the searching client now, so the timeout is no longer required
pull/27/head
Peter Hutterer 2018-01-24 12:17:16 +10:00
parent cfa4aca2df
commit 8bb971cdcd
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@

View File

@ -222,7 +222,7 @@ class Tuhi(GObject.Object):
def _on_start_search_requested(self, dbus_server, stop_handler):
self._search_stop_handler = stop_handler
self.bluez.start_discovery(timeout=30)
self.bluez.start_discovery()
def _on_stop_search_requested(self, dbus_server):
# If you request to stop, you get a successful stop and we ignore