summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/contact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact.py b/src/contact.py
index 4cb4c789..908b609e 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -175,7 +175,7 @@ class Contact(object):
"""Return the resource with the highest priority"""
resources = self.get_resources()
if resources:
- return resources[-1]
+ return resources[0]
return None
def folded(self, group_name='none'):