Tocs. Remove duplicated and sort

This commit is contained in:
resteve 2013-05-22 10:12:31 +02:00
parent 19b7263927
commit 3c15677d67

2
app.py
View file

@ -117,6 +117,8 @@ def get_modules():
mods.append(mod)
modules = sorted(mods, key=lambda k: k['name'])
tocs = list(set(tocs))
tocs.sort()
return modules, tocs
@app.route('/')