diff options
Diffstat (limited to 'src/tooltips.py')
-rw-r--r-- | src/tooltips.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tooltips.py b/src/tooltips.py index 3ac95a7cf..d335c7f61 100644 --- a/src/tooltips.py +++ b/src/tooltips.py @@ -460,8 +460,7 @@ class RosterTooltip(NotificationAreaTooltip): iconset = 'dcraven' file_path = os.path.join(helpers.get_iconset_path(iconset), '16x16') - contact_keys = contacts_dict.keys() - contact_keys.sort() + contact_keys = sorted(contacts_dict.keys()) contact_keys.reverse() for priority in contact_keys: for contact in contacts_dict[priority]: |