Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/buddy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buddy.py b/src/buddy.py
index f533b22..52e0146 100644
--- a/src/buddy.py
+++ b/src/buddy.py
@@ -344,7 +344,7 @@ class Buddy(ExportedGObject):
# if the Connection Manager disconnected other than
# PS stopping it, then we don't have a connection.
- if conn:
+ if conn is not None:
self.TelepathyHandleRemoved(conn.service_name,
conn.object_path, handle)
# the Owner can't disappear - that would be silly