Browse files

Updates the "Wizards 2.0" loader to the new interface.

git-svn-id: svn://cherokee-project.com/cherokee/trunk@6809 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information...
1 parent 693d372 commit b0af2aa33d3e58aff06dad722ff81c3d5f9d50d5 @alobbs alobbs committed Aug 15, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/PageVServers.py
View
4 admin/PageVServers.py
@@ -161,9 +161,9 @@ def __init__ (self):
categories = wizards2.Categories.get()
for cat in categories:
- url_pre = '%s/%s' %(wizards2.Categories.URL_CAT_LIST_VSRV, categories[cat])
+ url_pre = '%s/%s' %(wizards2.Categories.URL_CAT_LIST_VSRV, categories.index(cat))
content = [CTK.Box({'class': 'title'}, CTK.RawHTML(_(cat)))]
- panel.Add (categories[cat], url_pre, content, draggable=False)
+ panel.Add (cat.replace(' ','_'), url_pre, content, draggable=False)
else:
# Wizards 1.0
for cat in Wizard.Categories (Wizard.TYPE_VSERVER):

0 comments on commit b0af2aa

Please sign in to comment.