From 3a63c3ad431171866ed08a24ea9bf0ee51e671ab Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Fri, 21 Jun 2013 15:04:06 +0200 Subject: [PATCH] fixed reading encrypted link status in pairing window --- lib/solaar/ui/pair_window.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/solaar/ui/pair_window.py b/lib/solaar/ui/pair_window.py index e1fc68f1..1c827d88 100644 --- a/lib/solaar/ui/pair_window.py +++ b/lib/solaar/ui/pair_window.py @@ -12,7 +12,6 @@ del getLogger from . import icons as _icons from logitech.unifying_receiver.status import KEYS as _K -from logitech.unifying_receiver import status as _status # # @@ -149,7 +148,7 @@ def _pairing_succeeded(assistant, receiver, device): def _check_encrypted(dev): if assistant.is_drawable(): - if device.status.get('encrypted') == False: + if device.status.get(_K.LINK_ENCRYPTED) == False: hbox.pack_start(Gtk.Image.new_from_icon_name('security-low', Gtk.IconSize.MENU), False, False, 0) hbox.pack_start(Gtk.Label('The wireless link is not encrypted!'), False, False, 0) hbox.show_all()