summaryrefslogtreecommitdiff
path: root/sunshine/channel
diff options
context:
space:
mode:
authorKrzysztof Klinikowski <kkszysiu@gmail.com>2011-06-12 14:14:24 +0200
committerKrzysztof Klinikowski <kkszysiu@gmail.com>2011-06-12 14:18:27 +0200
commit6bfd256bcce37be1b44ae5bb139df977e3532f83 (patch)
tree58641022168375c9b06c9c0694ff58127810f271 /sunshine/channel
parentaf2da431aa3cf304c74dcdbbe47e48ebc7db51a8 (diff)
Some fixes in contact's deleting.
Diffstat (limited to 'sunshine/channel')
-rw-r--r--sunshine/channel/contact_list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunshine/channel/contact_list.py b/sunshine/channel/contact_list.py
index 0e22d49..fa9c0b3 100644
--- a/sunshine/channel/contact_list.py
+++ b/sunshine/channel/contact_list.py
@@ -162,7 +162,7 @@ class SunshineSubscribeListChannel(SunshineListChannel):
self._conn_ref().exportContactsFile()
def _remove(self, handle_id):
- handle = self._conn.handle(telepathy.HANDLE_TYPE_CONTACT, h)
+ handle = self._conn.handle(telepathy.HANDLE_TYPE_CONTACT, handle_id)
contact = handle.contact
if contact is None:
return True