mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-15 07:04:53 +01:00
Status: Fix sort on Python3 (dict_items, not list). Closes GH-1199.
This commit is contained in:
parent
7dabd79e5c
commit
2364cf176d
@ -78,8 +78,7 @@ class Status(callbacks.Plugin):
|
||||
networks = {}
|
||||
for Irc in world.ircs:
|
||||
networks.setdefault(Irc.network, []).append(Irc.nick)
|
||||
networks = networks.items()
|
||||
networks.sort()
|
||||
networks = sorted(networks.items())
|
||||
networks = [format(_('%s as %L'), net, nicks) for (net,nicks) in networks]
|
||||
L = [format(_('I am connected to %L.'), networks)]
|
||||
if world.profiling:
|
||||
|
Loading…
Reference in New Issue
Block a user