diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roster.py b/src/roster.py index ac25d525..b6e24076 100644 --- a/src/roster.py +++ b/src/roster.py @@ -149,7 +149,7 @@ class Roster(object): """ n = 0 for contact in self: - if contact.resources: + if len(contact): n += 1 return n |