summaryrefslogtreecommitdiff
path: root/src/contact.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.py')
-rw-r--r--src/contact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contact.py b/src/contact.py
index 3de2f496..3a8e38ab 100644
--- a/src/contact.py
+++ b/src/contact.py
@@ -148,7 +148,7 @@ class Contact(object):
def get_resources(self):
"""Return all resources, sorted by priority """
compare_resources = lambda x: x.priority
- return sorted(self.resources, key=compare_resources)
+ return sorted(self.resources, key=compare_resources, reverse=True)
def get_highest_priority_resource(self):
"""Return the resource with the highest priority"""