Skip to content

Commit

Permalink
nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
digi604 committed Oct 3, 2012
1 parent 802dead commit 1d121c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cms/appresolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def applications_page_check(request, current_page=None, path=None):
path = request.path.replace(reverse('pages-root'), '', 1)
# check if application resolver can resolve this
for lang in get_language_list():
if path.startswith(lang+"/"):
path = path[len(lang+"/"):]
if path.startswith(lang + "/"):
path = path[len(lang + "/"):]
for resolver in APP_RESOLVERS:
try:
page_id = resolver.resolve_page_id(path)
Expand Down

0 comments on commit 1d121c4

Please sign in to comment.