From 8bb971cdcd2fc7ff47787531301e9a5451b48bfd Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 24 Jan 2018 12:17:16 +1000 Subject: [PATCH] tuhi: don't use a timeout for searching We track the searching client now, so the timeout is no longer required --- tuhi/__init__.py | 1 + tuhi/base.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tuhi/__init__.py b/tuhi/__init__.py index e69de29..8b13789 100644 --- a/tuhi/__init__.py +++ b/tuhi/__init__.py @@ -0,0 +1 @@ + diff --git a/tuhi/base.py b/tuhi/base.py index d93f4b7..0af0e0c 100644 --- a/tuhi/base.py +++ b/tuhi/base.py @@ -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