version 0.8.8.2
This commit is contained in:
parent
8374a58dc1
commit
340ff0107c
|
@ -15,7 +15,9 @@ def init_paths():
|
||||||
share_lib = _path.join(prefix, 'share', 'solaar', 'lib')
|
share_lib = _path.join(prefix, 'share', 'solaar', 'lib')
|
||||||
for location in src_lib, share_lib:
|
for location in src_lib, share_lib:
|
||||||
init_py = _path.join(location, 'solaar', '__init__.py')
|
init_py = _path.join(location, 'solaar', '__init__.py')
|
||||||
|
# print ("sys.path[0]: checking", init_py)
|
||||||
if _path.exists(init_py):
|
if _path.exists(init_py):
|
||||||
|
# print ("sys.path[0]: found", location, "replacing", sys.path[0])
|
||||||
sys.path[0] = location
|
sys.path[0] = location
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
|
|
||||||
from __future__ import absolute_import, division, print_function, unicode_literals
|
from __future__ import absolute_import, division, print_function, unicode_literals
|
||||||
|
|
||||||
__version__ = '0.8.8.1'
|
__version__ = '0.8.8.2'
|
||||||
NAME = 'Solaar'
|
NAME = 'Solaar'
|
||||||
|
|
|
@ -95,7 +95,7 @@ def _prepare(assistant, page, receiver):
|
||||||
assert receiver.status.get(_status.ERROR) is None
|
assert receiver.status.get(_status.ERROR) is None
|
||||||
spinner = page.get_children()[-1]
|
spinner = page.get_children()[-1]
|
||||||
spinner.start()
|
spinner.start()
|
||||||
GLib.timeout_add(2000, _check_lock_state, assistant, receiver)
|
GLib.timeout_add(750, _check_lock_state, assistant, receiver)
|
||||||
assistant.set_page_complete(page, True)
|
assistant.set_page_complete(page, True)
|
||||||
else:
|
else:
|
||||||
GLib.idle_add(_pairing_failed, assistant, receiver, 'the pairing lock did not open')
|
GLib.idle_add(_pairing_failed, assistant, receiver, 'the pairing lock did not open')
|
||||||
|
|
Loading…
Reference in New Issue