Skip to content

Commit

Permalink
Updates the "Wizards 2.0" loader to the new interface.
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/cherokee/trunk@6809 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Aug 15, 2011
1 parent 693d372 commit b0af2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/PageVServers.py
Expand Up @@ -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):
Expand Down

0 comments on commit b0af2aa

Please sign in to comment.