Merge pull request #10 from todesschaf/sorted_menu

Sort menu options
This commit is contained in:
David Halter
2012-10-16 00:22:17 -07:00

View File

@@ -77,6 +77,8 @@ def complete():
)
out.append(d)
out.sort(key=lambda x: x['word'].lower())
strout = str(out)
except Exception:
# print to stdout, will be in :messages